<!-- HTML header for doxygen 1.9.7-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<title>libsir: The Standard Incident Reporter Library</title>
<!-- OpenGraph -->
<meta property="og:title" content="libsir: The Standard Incident Reporter Library">
<meta property="og:description" content="A lightweight, cross-platform C library for information distribution">
<meta property="og:url" content="https://libsir.rml.dev">
<meta property="og:type" content="website">
<meta property="og:image" content="https://libsir.rml.dev/res/libsir-og.png">
<meta name="twitter:card" content="summary_large_image"></meta>
<meta name="twitter:title" content="libsir: The Standard Incident Reporter Library"></meta>
<meta name="twitter:description" content="A lightweight, cross-platform C library for information distribution"></meta>
<meta name="twitter:image" content="https://libsir.rml.dev/res/libsir-og.png"></meta>
<!-- /OpenGraph -->
<!-- favicon -->
<link rel="icon" href="res/libsir-icon.png">
<link rel="icon" href="res/libsir-icon.svg" type="image/svg+xml">
<link rel="manifest" href="res/icons.webmanifest">
<!-- /favicon -->
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="stylesheet.css" rel="stylesheet" type="text/css" />
<link href="rml-navtree.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">libsir<span id="projectnumber">&#160;2.2.6</span>
   </div>
   <div id="projectbrief">Standard Incident Reporter</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.13.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search',true);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('types_8h_source.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">types.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">/*</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="comment"> * types.h</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="comment"> *</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="comment"> * Version: 2.2.6</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="comment"> *</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="comment"> * -----------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="comment"> *</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="comment"> * SPDX-License-Identifier: MIT</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span><span class="comment"> *</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="comment"> * Copyright (c) 2018-2024 Ryan M. Lederman &lt;lederman@gmail.com&gt;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="comment"> * Copyright (c) 2018-2024 Jeffrey H. Johnson &lt;trnsz@pobox.com&gt;</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="comment"> *</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span><span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining a copy of</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="comment"> * this software and associated documentation files (the &quot;Software&quot;), to deal in</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="comment"> * the Software without restriction, including without limitation the rights to</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="comment"> * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="comment"> * the Software, and to permit persons to whom the Software is furnished to do so,</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="comment"> * subject to the following conditions:</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="comment"> *</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="comment"> * The above copyright notice and this permission notice shall be included in all</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span><span class="comment"> * copies or substantial portions of the Software.</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span><span class="comment"> *</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="comment"> * THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="comment"> * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="comment"> * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="comment"> * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="comment"> * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span><span class="comment"> * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span><span class="comment"> *</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span><span class="comment"> * -----------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span><span class="comment"> */</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span> </div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span><span class="preprocessor">#ifndef _SIR_TYPES_H_INCLUDED</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span><span class="preprocessor"># define _SIR_TYPES_H_INCLUDED</span></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span> </div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span><span class="preprocessor"># include &quot;sir/platform.h&quot;</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span><span class="preprocessor"># include &quot;<a class="code" href="config_8h.html">sir/config.h</a>&quot;</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span><span class="preprocessor"># include &quot;<a class="code" href="ansimacros_8h.html">sir/ansimacros.h</a>&quot;</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span></div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="group__publictypes.html#ga0da4ab4b4468b6b71cd8e924b2adf2e2">   49</a></span><span class="keyword">typedef</span> uint32_t <a class="code hl_typedef" href="group__publictypes.html#ga0da4ab4b4468b6b71cd8e924b2adf2e2">sirfileid</a>;</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span></div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"><a class="line" href="group__publictypes.html#gadbc71df98df765cddfed4aa11c805470">   52</a></span><span class="keyword">typedef</span> uint32_t <a class="code hl_typedef" href="group__publictypes.html#gadbc71df98df765cddfed4aa11c805470">sirpluginid</a>;</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span> </div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span><span class="comment">/*</span></div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span><span class="comment"> * The following define the available levels of logging output.</span></div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span><span class="comment"> */</span></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span> </div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="group__publictypes.html#ga2b9222b9d95807e7e1d16bd9c86c130b">   58</a></span><span class="preprocessor"># define SIRL_NONE    0x0000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"><a class="line" href="group__publictypes.html#ga2409f97357f1eb510ababeb6e0a030e8">   59</a></span><span class="preprocessor"># define SIRL_EMERG   0x0001U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="group__publictypes.html#ga8549494d396c96ba66b5b78b298cff7d">   60</a></span><span class="preprocessor"># define SIRL_ALERT   0x0002U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"><a class="line" href="group__publictypes.html#gac559a9050c927bf0dc9f88dfc3905e06">   61</a></span><span class="preprocessor"># define SIRL_CRIT    0x0004U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="group__publictypes.html#ga39dffb8c9c5100251098820cb5b48446">   62</a></span><span class="preprocessor"># define SIRL_ERROR   0x0008U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="group__publictypes.html#ga91b18adc2526599377583951c29e84b9">   63</a></span><span class="preprocessor"># define SIRL_WARN    0x0010U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"><a class="line" href="group__publictypes.html#gad4aefd62d77b020460d32c9350bec7d5">   64</a></span><span class="preprocessor"># define SIRL_NOTICE  0x0020U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="group__publictypes.html#ga9e73defcee82050f038956ad7e911621">   65</a></span><span class="preprocessor"># define SIRL_INFO    0x0040U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"><a class="line" href="group__publictypes.html#gaa2927c260f1d8fac96513442e50105fc">   66</a></span><span class="preprocessor"># define SIRL_DEBUG   0x0080U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"><a class="line" href="group__publictypes.html#gac393a8a8f335fe44d28f39c91293af1f">   67</a></span><span class="preprocessor"># define SIRL_ALL     0x00ffU </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="group__publictypes.html#ga640c1b7e6daea59af42137e10e3c3b29">   68</a></span><span class="preprocessor"># define SIRL_DEFAULT 0x0100U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span></div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"><a class="line" href="group__publictypes.html#ga076e759e9aa36cde2977f754a7ea186c">   71</a></span><span class="keyword">typedef</span> uint16_t <a class="code hl_typedef" href="group__publictypes.html#ga076e759e9aa36cde2977f754a7ea186c">sir_level</a>;</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span></div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"><a class="line" href="group__publictypes.html#ga7ee5f2908abd2df9e89bcab0b6608edd">   74</a></span><span class="keyword">typedef</span> uint16_t <a class="code hl_typedef" href="group__publictypes.html#ga7ee5f2908abd2df9e89bcab0b6608edd">sir_levels</a>;</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span> </div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span><span class="comment">/*</span></div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span><span class="comment"> * Formatting options for a destination.</span></div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span><span class="comment"> */</span></div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span> </div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"><a class="line" href="group__publictypes.html#ga40584e96084fe85a8ad8a7be98ff5fc9">   80</a></span><span class="preprocessor"># define SIRO_ALL     0x00000000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"><a class="line" href="group__publictypes.html#gac3370e3a2be554f93e9e67bea177c8a0">   81</a></span><span class="preprocessor"># define SIRO_NOTIME  0x00000100U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="group__publictypes.html#ga0bdfbd616c096c6dfbb481b54fd1e397">   82</a></span><span class="preprocessor"># define SIRO_NOMSEC  0x00000200U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"><a class="line" href="group__publictypes.html#gaf6a215c540807f3ba15f97d372feeaf0">   83</a></span><span class="preprocessor"># define SIRO_NOHOST  0x00000400U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"><a class="line" href="group__publictypes.html#ga3c68d15a3b9b9d5a4f4c8fd092b0e73d">   84</a></span><span class="preprocessor"># define SIRO_NOLEVEL 0x00000800U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"><a class="line" href="group__publictypes.html#ga0d3bc4aa34b9399e72621632b877b16a">   85</a></span><span class="preprocessor"># define SIRO_NONAME  0x00001000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"><a class="line" href="group__publictypes.html#gafd6f47db95d87395d4a37529f839c6de">   86</a></span><span class="preprocessor"># define SIRO_NOPID   0x00002000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"><a class="line" href="group__publictypes.html#ga093cea38ace2acb674162a0f7fb153a6">   87</a></span><span class="preprocessor"># define SIRO_NOTID   0x00004000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"><a class="line" href="group__publictypes.html#ga7b417924811962ca0aeaca30bdf38cf6">   88</a></span><span class="preprocessor"># define SIRO_NOHDR   0x00010000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"><a class="line" href="group__publictypes.html#gafdc3b32bdee26cd4f457a4cecd2771ad">   89</a></span><span class="preprocessor"># define SIRO_MSGONLY 0x00007f00U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"><a class="line" href="group__publictypes.html#ga2a7a55618343c4cb76d7e428af72232b">   90</a></span><span class="preprocessor"># define SIRO_DEFAULT 0x00100000U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno">   91</span></div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"><a class="line" href="group__publictypes.html#gac28da6e48402cc15ead5b5384bccb6fd">   93</a></span><span class="keyword">typedef</span> uint32_t <a class="code hl_typedef" href="group__publictypes.html#gac28da6e48402cc15ead5b5384bccb6fd">sir_option</a>;</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno">   94</span></div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"><a class="line" href="group__publictypes.html#gafb659914aac0129182d86f7d3414e85d">   96</a></span><span class="keyword">typedef</span> uint32_t <a class="code hl_typedef" href="group__publictypes.html#gafb659914aac0129182d86f7d3414e85d">sir_options</a>;</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span></div>
<div class="foldopen" id="foldopen00099" data-start="{" data-end="};">
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"><a class="line" href="group__publictypes.html#ga26686b620930358e8b50f287d6c96e51">   99</a></span><span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga26686b620930358e8b50f287d6c96e51a1e9b6fdb0f6841f91060766dfefaa504">  100</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga26686b620930358e8b50f287d6c96e51a1e9b6fdb0f6841f91060766dfefaa504">SIRCM_16</a>      = 0, </div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga26686b620930358e8b50f287d6c96e51af6f2ac3c69c5fd02bac6d861bebdb441">  101</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga26686b620930358e8b50f287d6c96e51af6f2ac3c69c5fd02bac6d861bebdb441">SIRCM_256</a>     = 1, </div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga26686b620930358e8b50f287d6c96e51ae0caa45527e7c797fef3719f947bc2ab">  102</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga26686b620930358e8b50f287d6c96e51ae0caa45527e7c797fef3719f947bc2ab">SIRCM_RGB</a>     = 2, </div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga26686b620930358e8b50f287d6c96e51aec247277302fc0b522454c2f02e77b70">  103</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga26686b620930358e8b50f287d6c96e51aec247277302fc0b522454c2f02e77b70">SIRCM_INVALID</a> = 3  </div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span>} <a class="code hl_enumeration" href="group__publictypes.html#ga26686b620930358e8b50f287d6c96e51">sir_colormode</a>;</div>
</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span></div>
<div class="foldopen" id="foldopen00107" data-start="{" data-end="};">
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"><a class="line" href="group__publictypes.html#ga1bf5e489a6af0dcb905788c1e7a5ec2d">  107</a></span><span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga1bf5e489a6af0dcb905788c1e7a5ec2daa0d426c2ea1dfa48ad6e29a69f03d04c">  108</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga1bf5e489a6af0dcb905788c1e7a5ec2daa0d426c2ea1dfa48ad6e29a69f03d04c">SIRTA_NORMAL</a>  = 0, </div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga1bf5e489a6af0dcb905788c1e7a5ec2dabd921418f53873c49dea5f9f3ea81f4b">  109</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga1bf5e489a6af0dcb905788c1e7a5ec2dabd921418f53873c49dea5f9f3ea81f4b">SIRTA_BOLD</a>    = 1, </div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga1bf5e489a6af0dcb905788c1e7a5ec2da5c6d2b3a91b49ff14f9946799f00b20c">  110</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga1bf5e489a6af0dcb905788c1e7a5ec2da5c6d2b3a91b49ff14f9946799f00b20c">SIRTA_DIM</a>     = 2, </div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga1bf5e489a6af0dcb905788c1e7a5ec2da57a1bd50ad704c18289c2bf74a2a68c5">  111</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga1bf5e489a6af0dcb905788c1e7a5ec2da57a1bd50ad704c18289c2bf74a2a68c5">SIRTA_EMPH</a>    = 3, </div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"><a class="line" href="group__publictypes.html#gga1bf5e489a6af0dcb905788c1e7a5ec2da79ce8f5c35788a58b81c24684563e629">  112</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#gga1bf5e489a6af0dcb905788c1e7a5ec2da79ce8f5c35788a58b81c24684563e629">SIRTA_ULINE</a>   = 4, </div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno">  113</span>} <a class="code hl_enumeration" href="group__publictypes.html#ga1bf5e489a6af0dcb905788c1e7a5ec2d">sir_textattr</a>;</div>
</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno">  114</span></div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span><span class="keyword">enum</span> {</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno">  117</span>    <span class="comment">/* 4-bit (16-color). */</span></div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"><a class="line" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a67abb820e54b6f4eb6c36889cdb161a1">  118</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a67abb820e54b6f4eb6c36889cdb161a1">SIRTC_BLACK</a>    = 0,  </div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"><a class="line" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6aa62b22cd035e89e52f4f51e5ccc9802c">  119</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6aa62b22cd035e89e52f4f51e5ccc9802c">SIRTC_RED</a>      = 1,  </div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"><a class="line" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6afbfeed1f48833f2fe7bb49c1d35d217f">  120</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6afbfeed1f48833f2fe7bb49c1d35d217f">SIRTC_GREEN</a>    = 2,  </div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"><a class="line" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a2c5ba8731523096ff871e27e82d9a9ba">  121</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a2c5ba8731523096ff871e27e82d9a9ba">SIRTC_YELLOW</a>   = 3,  </div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"><a class="line" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a4eedafe058fd32443278fbcfa4b9bc10">  122</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a4eedafe058fd32443278fbcfa4b9bc10">SIRTC_BLUE</a>     = 4,  </div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"><a class="line" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6aa5528759208615ea1a26f2b31361962c">  123</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6aa5528759208615ea1a26f2b31361962c">SIRTC_MAGENTA</a>  = 5,  </div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"><a class="line" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a283e06452d5e663666c4274a94ccab2a">  124</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a283e06452d5e663666c4274a94ccab2a">SIRTC_CYAN</a>     = 6,  </div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"><a class="line" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a047ba18fa823187083da9b56bfde7329">  125</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a047ba18fa823187083da9b56bfde7329">SIRTC_LGRAY</a>    = 7,  </div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"><a class="line" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6afc39eaef40fe161644258c9465c537bd">  126</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6afc39eaef40fe161644258c9465c537bd">SIRTC_DGRAY</a>    = 8,  </div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"><a class="line" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6aed8555bf560bde4696de7340c04984d5">  127</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6aed8555bf560bde4696de7340c04984d5">SIRTC_BRED</a>     = 9,  </div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"><a class="line" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a51ff94e190c38445e9c1c14d81c47f74">  128</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a51ff94e190c38445e9c1c14d81c47f74">SIRTC_BGREEN</a>   = 10, </div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"><a class="line" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a17661620bd839f5e015a43d5e6913c0f">  129</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a17661620bd839f5e015a43d5e6913c0f">SIRTC_BYELLOW</a>  = 11, </div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"><a class="line" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6ac20967fac8888c04ce03927236cf0b69">  130</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6ac20967fac8888c04ce03927236cf0b69">SIRTC_BBLUE</a>    = 12, </div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"><a class="line" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a8ca3ef305d6d19e9469e42cab90eda7f">  131</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a8ca3ef305d6d19e9469e42cab90eda7f">SIRTC_BMAGENTA</a> = 13, </div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"><a class="line" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a9c0ac02a1b3d8964b40ec838a14b48b3">  132</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a9c0ac02a1b3d8964b40ec838a14b48b3">SIRTC_BCYAN</a>    = 14, </div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"><a class="line" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a79f980cfe1c098f99358b9250c52491b">  133</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a79f980cfe1c098f99358b9250c52491b">SIRTC_WHITE</a>    = 15, </div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno">  134</span>    <span class="comment">/* 8-bit (256-color) and 24-bit (RGB color) modes:</span></div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno">  135</span><span class="comment">     * use the numeric representation (16..255) instead of an enum.</span></div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno">  136</span><span class="comment">     * these colors do not have defined names like the above. */</span></div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"><a class="line" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a6435ad1ff8e5c1495342f96398f73d8b">  137</a></span>    <a class="code hl_enumvalue" href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a6435ad1ff8e5c1495342f96398f73d8b">SIRTC_DEFAULT</a>  = 256 </div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno">  138</span>};</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno">  139</span></div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"><a class="line" href="group__publictypes.html#gab4214e294af5ac3c91f21c1d379e10c5">  141</a></span><span class="keyword">typedef</span> uint32_t <a class="code hl_typedef" href="group__publictypes.html#gab4214e294af5ac3c91f21c1d379e10c5">sir_textcolor</a>;</div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno">  142</span></div>
<div class="foldopen" id="foldopen00150" data-start="{" data-end="};">
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"><a class="line" href="group__publictypes.html">  150</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"><a class="line" href="group__publictypes.html#af4a1521a69e33827d65f58ae91652eea">  151</a></span>    <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_variable" href="group__publictypes.html#af4a1521a69e33827d65f58ae91652eea">func</a>;          </div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"><a class="line" href="group__publictypes.html#a0f1ca5e5f040ff432ec2f28ac23b1504">  152</a></span>    <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_variable" href="group__publictypes.html#a0f1ca5e5f040ff432ec2f28ac23b1504">file</a>;          </div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"><a class="line" href="group__publictypes.html#aac81443950636231618b982dfb5b122f">  153</a></span>    uint32_t <a class="code hl_variable" href="group__publictypes.html#aac81443950636231618b982dfb5b122f">line</a>;             </div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"><a class="line" href="group__publictypes.html#a2765f5ddb8a50349623160cc96c81a4e">  154</a></span>    <span class="keywordtype">int</span> <a class="code hl_variable" href="group__publictypes.html#a2765f5ddb8a50349623160cc96c81a4e">os_code</a>;               </div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"><a class="line" href="group__publictypes.html#a742a53b19bb736a6da11298c3bc5ff93">  155</a></span>    <span class="keywordtype">char</span> <a class="code hl_variable" href="group__publictypes.html#a742a53b19bb736a6da11298c3bc5ff93">os_msg</a>[<a class="code hl_define" href="config_8h.html#ad6fce840144259e992c33fb611f31262">SIR_MAXERROR</a>]; </div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"><a class="line" href="group__publictypes.html#a1b19b7713ae46decdf5c2f25afe6db2b">  156</a></span>    uint16_t <a class="code hl_variable" href="group__publictypes.html#a1b19b7713ae46decdf5c2f25afe6db2b">code</a>;             </div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"><a class="line" href="group__publictypes.html#a0650ec340669782fe39c6272e47d50f6">  157</a></span>    <span class="keywordtype">char</span> <a class="code hl_variable" href="group__publictypes.html#a0650ec340669782fe39c6272e47d50f6">msg</a>[<a class="code hl_define" href="config_8h.html#ad6fce840144259e992c33fb611f31262">SIR_MAXERROR</a>];    </div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno">  158</span>} <a class="code hl_struct" href="group__publictypes.html#structsir__errorinfo">sir_errorinfo</a>;</div>
</div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno">  159</span></div>
<div class="foldopen" id="foldopen00169" data-start="{" data-end="};">
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"><a class="line" href="group__publictypes.html">  169</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"><a class="line" href="group__publictypes.html#a5dd5e64c144c5652c8bfea5d9f1eec9b">  170</a></span>    <a class="code hl_enumeration" href="group__publictypes.html#ga1bf5e489a6af0dcb905788c1e7a5ec2d">sir_textattr</a> <a class="code hl_variable" href="group__publictypes.html#a5dd5e64c144c5652c8bfea5d9f1eec9b">attr</a>; </div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"><a class="line" href="group__publictypes.html#ac6fb238c1a2b51dfff2b62b4c5acd42b">  171</a></span>    <a class="code hl_typedef" href="group__publictypes.html#gab4214e294af5ac3c91f21c1d379e10c5">sir_textcolor</a> <a class="code hl_variable" href="group__publictypes.html#ac6fb238c1a2b51dfff2b62b4c5acd42b">fg</a>;  </div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"><a class="line" href="group__publictypes.html#a3fb54399893a1e17b865471d22467231">  172</a></span>    <a class="code hl_typedef" href="group__publictypes.html#gab4214e294af5ac3c91f21c1d379e10c5">sir_textcolor</a> <a class="code hl_variable" href="group__publictypes.html#a3fb54399893a1e17b865471d22467231">bg</a>;  </div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno">  173</span>} <a class="code hl_struct" href="group__publictypes.html#structsir__textstyle">sir_textstyle</a>;</div>
</div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno">  174</span></div>
<div class="foldopen" id="foldopen00181" data-start="{" data-end="};">
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"><a class="line" href="group__publictypes.html">  181</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"><a class="line" href="group__publictypes.html#a3dc07c2b3fbe96d9c6f4d8af2ef90687">  183</a></span>    <a class="code hl_typedef" href="group__publictypes.html#ga7ee5f2908abd2df9e89bcab0b6608edd">sir_levels</a> <a class="code hl_variable" href="group__publictypes.html#a3dc07c2b3fbe96d9c6f4d8af2ef90687">levels</a>;</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno">  184</span></div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"><a class="line" href="group__publictypes.html#a7e1370c46de95363162d1c7879fca723">  186</a></span>    <a class="code hl_typedef" href="group__publictypes.html#gafb659914aac0129182d86f7d3414e85d">sir_options</a> <a class="code hl_variable" href="group__publictypes.html#a7e1370c46de95363162d1c7879fca723">opts</a>;</div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno">  187</span>} <a class="code hl_struct" href="group__publictypes.html#structsir__stdio__dest">sir_stdio_dest</a>;</div>
</div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno">  188</span></div>
<div class="foldopen" id="foldopen00195" data-start="{" data-end="};">
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"><a class="line" href="group__publictypes.html">  195</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"><a class="line" href="group__publictypes.html#a2fb4c11cdb645a46f008c34678260bbc">  196</a></span>    <a class="code hl_typedef" href="group__publictypes.html#ga7ee5f2908abd2df9e89bcab0b6608edd">sir_levels</a> <a class="code hl_variable" href="group__publictypes.html#a2fb4c11cdb645a46f008c34678260bbc">levels</a>; </div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno">  197</span></div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"><a class="line" href="group__publictypes.html#ad8f026edd9c8667d897eb24016f2e81f">  212</a></span>    <a class="code hl_typedef" href="group__publictypes.html#gafb659914aac0129182d86f7d3414e85d">sir_options</a> <a class="code hl_variable" href="group__publictypes.html#ad8f026edd9c8667d897eb24016f2e81f">opts</a>;</div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno">  213</span></div>
<div class="foldopen" id="foldopen00215" data-start="{" data-end="};">
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"><a class="line" href="group__publictypes.html">  215</a></span>    <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno">  216</span>        uint32_t <a class="code hl_variable" href="group__publictypes.html#af2ce11ebf110993621bedd8e747d7b1b">mask</a>; </div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno">  217</span>        <span class="keywordtype">void</span>* <a class="code hl_variable" href="group__publictypes.html#a6db435f352d7ea4a67807a3feb447bf7">logger</a>;  </div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"><a class="line" href="group__publictypes.html#a239bed29c66896051d82c286901e6bb5">  218</a></span>    } _state;</div>
</div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno">  219</span></div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"><a class="line" href="group__publictypes.html#acbc738f8c0f9dc404ac85e13cb43c7c5">  224</a></span>    <span class="keywordtype">char</span> <a class="code hl_variable" href="group__publictypes.html#acbc738f8c0f9dc404ac85e13cb43c7c5">identity</a>[<a class="code hl_define" href="config_8h.html#a24a907a8ba87d4355d11dca2476383b2">SIR_MAX_SYSLOG_ID</a>];</div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno">  225</span></div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"><a class="line" href="group__publictypes.html#ace79b2f2bd4d08d0c6e4151dafb3266b">  230</a></span>    <span class="keywordtype">char</span> <a class="code hl_variable" href="group__publictypes.html#ace79b2f2bd4d08d0c6e4151dafb3266b">category</a>[<a class="code hl_define" href="config_8h.html#acf0d0fad6a98c920cced53dbe9b54d26">SIR_MAX_SYSLOG_CAT</a>];</div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno">  231</span>} <a class="code hl_struct" href="group__publictypes.html#structsir__syslog__dest">sir_syslog_dest</a>;</div>
</div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno">  232</span></div>
<div class="foldopen" id="foldopen00244" data-start="{" data-end="};">
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"><a class="line" href="group__publictypes.html">  244</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"><a class="line" href="group__publictypes.html#abdce8407bc07b5c7bdb945bd3797dea5">  245</a></span>    <a class="code hl_struct" href="group__publictypes.html#structsir__stdio__dest">sir_stdio_dest</a> <a class="code hl_variable" href="group__publictypes.html#abdce8407bc07b5c7bdb945bd3797dea5">d_stdout</a>;  </div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"><a class="line" href="group__publictypes.html#ac66a688f2db4be6a408b8c570ffd0811">  246</a></span>    <a class="code hl_struct" href="group__publictypes.html#structsir__stdio__dest">sir_stdio_dest</a> <a class="code hl_variable" href="group__publictypes.html#ac66a688f2db4be6a408b8c570ffd0811">d_stderr</a>;  </div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"><a class="line" href="group__publictypes.html#a86b187f809d969f08dd2edef0e4cb248">  247</a></span>    <a class="code hl_struct" href="group__publictypes.html#structsir__syslog__dest">sir_syslog_dest</a> <a class="code hl_variable" href="group__publictypes.html#a86b187f809d969f08dd2edef0e4cb248">d_syslog</a>; </div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno">  248</span></div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"><a class="line" href="group__publictypes.html#ac003c97d6b63150341f2f29166a533e3">  253</a></span>    <span class="keywordtype">char</span> <a class="code hl_variable" href="group__publictypes.html#ac003c97d6b63150341f2f29166a533e3">name</a>[<a class="code hl_define" href="config_8h.html#a85ed3139018ee9e7545c74c0885dff55">SIR_MAXNAME</a>];</div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno">  254</span>} <a class="code hl_struct" href="group__publictypes.html#structsirinit">sirinit</a>;</div>
</div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno">  255</span></div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno">  260</span></div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno">  262</span><span class="preprocessor"># define _SIR_MAGIC 0x60906090U</span></div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno">  263</span></div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno">  265</span><span class="preprocessor"># define SIRSL_IS_OPEN  0x00000001U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno">  266</span><span class="preprocessor"># define SIRSL_LEVELS   0x00000002U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno">  267</span><span class="preprocessor"># define SIRSL_OPTIONS  0x00000004U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno">  268</span><span class="preprocessor"># define SIRSL_CATEGORY 0x00000008U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno">  269</span><span class="preprocessor"># define SIRSL_IDENTITY 0x00000010U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno">  270</span><span class="preprocessor"># define SIRSL_UPDATED  0x00000020U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno">  271</span><span class="preprocessor"># define SIRSL_IS_INIT  0x00000040U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno">  272</span> </div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno">  273</span><span class="preprocessor"># if defined(__WIN__)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno">  276</span><span class="keyword">typedef</span> void (*invalparamfn)(<span class="keyword">const</span> <span class="keywordtype">wchar_t</span>*, <span class="keyword">const</span> <span class="keywordtype">wchar_t</span>*, <span class="keyword">const</span> <span class="keywordtype">wchar_t</span>*,</div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno">  277</span>    <span class="keywordtype">unsigned</span> int, uintptr_t);</div>
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno">  278</span><span class="preprocessor"># endif</span></div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno">  279</span></div>
<div class="foldopen" id="foldopen00281" data-start="{" data-end="};">
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"><a class="line" href="structsir__time.html">  281</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno">  282</span><span class="preprocessor"># if !defined(__WIN__)</span></div>
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno">  283</span>    time_t sec;</div>
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno">  284</span>    <span class="keywordtype">long</span> msec;</div>
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno">  285</span><span class="preprocessor"># else </span><span class="comment">/* __WIN__ */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno">  286</span>    LARGE_INTEGER counter;</div>
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno">  287</span><span class="preprocessor"># endif</span></div>
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno">  288</span>} <a class="code hl_struct" href="structsir__time.html">sir_time</a>;</div>
</div>
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno">  289</span></div>
<div class="foldopen" id="foldopen00291" data-start="{" data-end="};">
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"><a class="line" href="structsirconfig.html">  291</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno">  292</span>    <a class="code hl_struct" href="group__publictypes.html#structsirinit">sirinit</a> si;</div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno">  293</span>    <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno">  294</span>        <span class="keywordtype">char</span> hostname[SIR_MAXHOST];</div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno">  295</span>        time_t last_hname_chk;</div>
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno">  296</span>        <span class="keywordtype">char</span> pidbuf[SIR_MAXPID];</div>
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno">  297</span>        pid_t pid;</div>
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno">  298</span>        <span class="keywordtype">char</span> timestamp[<a class="code hl_define" href="config_8h.html#ac1e50274f913ef71f196f20b9dfbbba6">SIR_MAXTIME</a>];</div>
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno">  299</span></div>
<div class="foldopen" id="foldopen00301" data-start="{" data-end="};">
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno"><a class="line" href="structsirconfig_8state_8last.html">  301</a></span>        <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno">  302</span>            <span class="keywordtype">bool</span> squelch;</div>
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno">  303</span>            uint64_t hash;</div>
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno">  304</span>            <span class="keywordtype">char</span> prefix[2];</div>
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno">  305</span>            <a class="code hl_typedef" href="group__publictypes.html#ga076e759e9aa36cde2977f754a7ea186c">sir_level</a> level;</div>
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno">  306</span>            <span class="keywordtype">size_t</span> counter;</div>
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno">  307</span>            <span class="keywordtype">size_t</span> threshold;</div>
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno">  308</span>        } last;</div>
</div>
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno">  309</span>    } state;</div>
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno">  310</span>} <a class="code hl_struct" href="structsirconfig.html">sirconfig</a>;</div>
</div>
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno">  311</span></div>
<div class="foldopen" id="foldopen00313" data-start="{" data-end="};">
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"><a class="line" href="structsirfile.html">  313</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno">  314</span>    <span class="keyword">const</span> <span class="keywordtype">char</span>* path;</div>
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno">  315</span>    <a class="code hl_typedef" href="group__publictypes.html#ga7ee5f2908abd2df9e89bcab0b6608edd">sir_levels</a> levels;</div>
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno">  316</span>    <a class="code hl_typedef" href="group__publictypes.html#gafb659914aac0129182d86f7d3414e85d">sir_options</a> opts;</div>
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno">  317</span>    FILE* f;</div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno">  318</span>    <a class="code hl_typedef" href="group__publictypes.html#ga0da4ab4b4468b6b71cd8e924b2adf2e2">sirfileid</a> id;</div>
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno">  319</span>    <span class="keywordtype">int</span> writes_since_size_chk;</div>
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno">  320</span>} <a class="code hl_struct" href="structsirfile.html">sirfile</a>;</div>
</div>
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno">  321</span></div>
<div class="foldopen" id="foldopen00323" data-start="{" data-end="};">
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"><a class="line" href="structsirfcache.html">  323</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno">  324</span>    <a class="code hl_struct" href="structsirfile.html">sirfile</a>* files[<a class="code hl_define" href="config_8h.html#aa1080a4bec531adb6d25c87ac4734399">SIR_MAXFILES</a>];</div>
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno">  325</span>    <span class="keywordtype">size_t</span> count;</div>
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno">  326</span>} <a class="code hl_struct" href="structsirfcache.html">sirfcache</a>;</div>
</div>
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno">  327</span></div>
<div class="foldopen" id="foldopen00329" data-start="{" data-end="};">
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno"><a class="line" href="structsir__plugininfo.html">  329</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00330" name="l00330"></a><span class="lineno"><a class="line" href="structsir__plugininfo.html#a125b2cde17902e0d197fa3157337f3ae">  330</a></span>    uint8_t <a class="code hl_variable" href="structsir__plugininfo.html#a125b2cde17902e0d197fa3157337f3ae">iface_ver</a>;  </div>
<div class="line"><a id="l00331" name="l00331"></a><span class="lineno"><a class="line" href="structsir__plugininfo.html#ada7d4dcf686295a51247716ed20b36be">  331</a></span>    uint8_t <a class="code hl_variable" href="structsir__plugininfo.html#ada7d4dcf686295a51247716ed20b36be">maj_ver</a>;    </div>
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno"><a class="line" href="structsir__plugininfo.html#a71e87991b1776d2a9346598ceebf1f1a">  332</a></span>    uint8_t <a class="code hl_variable" href="structsir__plugininfo.html#a71e87991b1776d2a9346598ceebf1f1a">min_ver</a>;    </div>
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno"><a class="line" href="structsir__plugininfo.html#a430d916d71dd58f9909348181c98751b">  333</a></span>    uint8_t <a class="code hl_variable" href="structsir__plugininfo.html#a430d916d71dd58f9909348181c98751b">bld_ver</a>;    </div>
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"><a class="line" href="structsir__plugininfo.html#ab3d8e14fb3f09579052cfc6f48e638b7">  334</a></span>    <a class="code hl_typedef" href="group__publictypes.html#ga7ee5f2908abd2df9e89bcab0b6608edd">sir_levels</a> <a class="code hl_variable" href="structsir__plugininfo.html#ab3d8e14fb3f09579052cfc6f48e638b7">levels</a>;  </div>
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"><a class="line" href="structsir__plugininfo.html#af8690ae21184c15db2a8a93655d3a516">  335</a></span>    <a class="code hl_typedef" href="group__publictypes.html#gafb659914aac0129182d86f7d3414e85d">sir_options</a> <a class="code hl_variable" href="structsir__plugininfo.html#af8690ae21184c15db2a8a93655d3a516">opts</a>;   </div>
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"><a class="line" href="structsir__plugininfo.html#ab10ea6843c9f67e861b2f8410119022f">  336</a></span>    <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_variable" href="structsir__plugininfo.html#ab10ea6843c9f67e861b2f8410119022f">author</a>; </div>
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno"><a class="line" href="structsir__plugininfo.html#aa52c4fcccd437ab1a4349bd8e6f64922">  337</a></span>    <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_variable" href="structsir__plugininfo.html#aa52c4fcccd437ab1a4349bd8e6f64922">desc</a>;   </div>
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"><a class="line" href="structsir__plugininfo.html#a92d9ff1c0c4764f1e066a24efecebfd0">  338</a></span>    uint64_t <a class="code hl_variable" href="structsir__plugininfo.html#a92d9ff1c0c4764f1e066a24efecebfd0">caps</a>;      </div>
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno">  339</span>} <a class="code hl_struct" href="structsir__plugininfo.html">sir_plugininfo</a>;</div>
</div>
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno">  340</span></div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno">  342</span><span class="preprocessor"># define SIR_PLUGIN_V1 1</span></div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno">  343</span><span class="preprocessor"># define SIR_PLUGIN_VCURRENT SIR_PLUGIN_V1</span></div>
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno">  344</span></div>
<div class="line"><a id="l00346" name="l00346"></a><span class="lineno">  346</span><span class="preprocessor"># define SIR_PLUGIN_EXPORT_QUERY   &quot;sir_plugin_query&quot;</span></div>
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno">  347</span><span class="preprocessor"># define SIR_PLUGIN_EXPORT_INIT    &quot;sir_plugin_init&quot;</span></div>
<div class="line"><a id="l00348" name="l00348"></a><span class="lineno">  348</span><span class="preprocessor"># define SIR_PLUGIN_EXPORT_WRITE   &quot;sir_plugin_write&quot;</span></div>
<div class="line"><a id="l00349" name="l00349"></a><span class="lineno">  349</span><span class="preprocessor"># define SIR_PLUGIN_EXPORT_CLEANUP &quot;sir_plugin_cleanup&quot;</span></div>
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno">  350</span></div>
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno">  352</span><span class="keyword">typedef</span> bool (*sir_plugin_queryfn)(<a class="code hl_struct" href="structsir__plugininfo.html">sir_plugininfo</a>*);</div>
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno">  353</span><span class="keyword">typedef</span> bool (*sir_plugin_initfn)(void);</div>
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno">  354</span><span class="keyword">typedef</span> bool (*sir_plugin_writefn)(<a class="code hl_typedef" href="group__publictypes.html#ga076e759e9aa36cde2977f754a7ea186c">sir_level</a>, <span class="keyword">const</span> <span class="keywordtype">char</span>*);</div>
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno">  355</span><span class="keyword">typedef</span> bool (*sir_plugin_cleanupfn)(void);</div>
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno">  356</span></div>
<div class="foldopen" id="foldopen00358" data-start="{" data-end="};">
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno"><a class="line" href="structsir__pluginifacev1.html">  358</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno"><a class="line" href="structsir__pluginifacev1.html#a48761a407679ba47dd18f2a52ddeb422">  359</a></span>    sir_plugin_queryfn <a class="code hl_variable" href="structsir__pluginifacev1.html#a48761a407679ba47dd18f2a52ddeb422">query</a>;     </div>
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno"><a class="line" href="structsir__pluginifacev1.html#af8ba5a3a8a30ff6decd9c1795003cfcf">  360</a></span>    sir_plugin_initfn <a class="code hl_variable" href="structsir__pluginifacev1.html#af8ba5a3a8a30ff6decd9c1795003cfcf">init</a>;       </div>
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno"><a class="line" href="structsir__pluginifacev1.html#a7be5d9cb671d562cdc031bb6962c9258">  361</a></span>    sir_plugin_writefn <a class="code hl_variable" href="structsir__pluginifacev1.html#a7be5d9cb671d562cdc031bb6962c9258">write</a>;     </div>
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno"><a class="line" href="structsir__pluginifacev1.html#a17698cba1d7ed214a11774078526c615">  362</a></span>    sir_plugin_cleanupfn <a class="code hl_variable" href="structsir__pluginifacev1.html#a17698cba1d7ed214a11774078526c615">cleanup</a>; </div>
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno">  363</span>} <a class="code hl_struct" href="structsir__pluginifacev1.html">sir_pluginifacev1</a>;</div>
</div>
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno">  364</span> </div>
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno">  365</span><span class="keyword">typedef</span> <a class="code hl_struct" href="structsir__pluginifacev1.html">sir_pluginifacev1</a> sir_pluginiface;</div>
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno">  366</span></div>
<div class="foldopen" id="foldopen00368" data-start="{" data-end="};">
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno"><a class="line" href="structsir__plugin.html">  368</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno">  369</span>    <span class="keyword">const</span> <span class="keywordtype">char</span>* path;</div>
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno">  370</span>    sir_pluginhandle handle;</div>
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno">  371</span>    <a class="code hl_struct" href="structsir__plugininfo.html">sir_plugininfo</a> info;</div>
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno">  372</span>    <span class="keywordtype">bool</span> loaded;</div>
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno">  373</span>    <span class="keywordtype">bool</span> valid;</div>
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno">  374</span>    sir_pluginiface iface;</div>
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno">  375</span>    <a class="code hl_typedef" href="group__publictypes.html#gadbc71df98df765cddfed4aa11c805470">sirpluginid</a> id;</div>
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno">  376</span>} <a class="code hl_struct" href="structsir__plugin.html">sir_plugin</a>;</div>
</div>
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno">  377</span></div>
<div class="foldopen" id="foldopen00379" data-start="{" data-end="};">
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno"><a class="line" href="structsir__plugincache.html">  379</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno">  380</span>    <a class="code hl_struct" href="structsir__plugin.html">sir_plugin</a>* plugins[<a class="code hl_define" href="config_8h.html#a98d559e1620108074d776bd6f33f85a4">SIR_MAXPLUGINS</a>];</div>
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno">  381</span>    <span class="keywordtype">size_t</span> count;</div>
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno">  382</span>} <a class="code hl_struct" href="structsir__plugincache.html">sir_plugincache</a>;</div>
</div>
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno">  383</span></div>
<div class="foldopen" id="foldopen00385" data-start="{" data-end="};">
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno"><a class="line" href="structsir__queue__node.html">  385</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>_sir_queue_node {</div>
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno">  386</span>    <span class="keyword">struct </span>_sir_queue_node* next;</div>
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno">  387</span>    <span class="keywordtype">void</span>* data;</div>
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno">  388</span>} <a class="code hl_struct" href="structsir__queue__node.html">sir_queue_node</a>;</div>
</div>
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno">  389</span></div>
<div class="foldopen" id="foldopen00391" data-start="{" data-end="};">
<div class="line"><a id="l00391" name="l00391"></a><span class="lineno"><a class="line" href="structsir__queue.html">  391</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno"><a class="line" href="structsir__queue.html#a56c116fc7e2a3efdc855f3d33541c122">  392</a></span>    <a class="code hl_struct" href="structsir__queue__node.html">sir_queue_node</a>* <a class="code hl_variable" href="structsir__queue.html#a56c116fc7e2a3efdc855f3d33541c122">head</a>; </div>
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno">  393</span>} <a class="code hl_struct" href="structsir__queue.html">sir_queue</a>;</div>
</div>
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno">  394</span></div>
<div class="foldopen" id="foldopen00396" data-start="{" data-end="};">
<div class="line"><a id="l00396" name="l00396"></a><span class="lineno"><a class="line" href="structsir__threadpool__job.html">  396</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno"><a class="line" href="structsir__threadpool__job.html#a03b1cec323ce1973b55356fd9e374322">  397</a></span>    bool (*<a class="code hl_variable" href="structsir__threadpool__job.html#a03b1cec323ce1973b55356fd9e374322">fn</a>)(<span class="keywordtype">void</span>*); </div>
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno"><a class="line" href="structsir__threadpool__job.html#a77b8d07917b5c1ae32f72f7ce71a6d8c">  398</a></span>    <span class="keywordtype">void</span>* <a class="code hl_variable" href="structsir__threadpool__job.html#a77b8d07917b5c1ae32f72f7ce71a6d8c">data</a>;        </div>
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno">  399</span>} <a class="code hl_struct" href="structsir__threadpool__job.html">sir_threadpool_job</a>;</div>
</div>
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno">  400</span></div>
<div class="foldopen" id="foldopen00402" data-start="{" data-end="};">
<div class="line"><a id="l00402" name="l00402"></a><span class="lineno"><a class="line" href="structsir__threadpool.html">  402</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00403" name="l00403"></a><span class="lineno"><a class="line" href="structsir__threadpool.html#ab7832daed4aced16c462f2340c79c436">  403</a></span>    sir_thread* <a class="code hl_variable" href="structsir__threadpool.html#ab7832daed4aced16c462f2340c79c436">threads</a>; </div>
<div class="line"><a id="l00404" name="l00404"></a><span class="lineno"><a class="line" href="structsir__threadpool.html#a0502c0ce1c0e33fc5f93966956f06c99">  404</a></span>    <span class="keywordtype">size_t</span> <a class="code hl_variable" href="structsir__threadpool.html#a0502c0ce1c0e33fc5f93966956f06c99">num_threads</a>;  </div>
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno"><a class="line" href="structsir__threadpool.html#a4b5c66ba993a304ae29152ba2cd00dde">  405</a></span>    <a class="code hl_struct" href="structsir__queue.html">sir_queue</a>* <a class="code hl_variable" href="structsir__threadpool.html#a4b5c66ba993a304ae29152ba2cd00dde">jobs</a>;     </div>
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno"><a class="line" href="structsir__threadpool.html#a982e2a7ec6c7715b055df6a4b7f44173">  406</a></span>    sir_condition <a class="code hl_variable" href="structsir__threadpool.html#a982e2a7ec6c7715b055df6a4b7f44173">cond</a>;  </div>
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno"><a class="line" href="structsir__threadpool.html#af0a4d59c2d0cf18b34d11820b1fd2a5b">  407</a></span>    sir_mutex <a class="code hl_variable" href="structsir__threadpool.html#af0a4d59c2d0cf18b34d11820b1fd2a5b">mutex</a>;     </div>
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno"><a class="line" href="structsir__threadpool.html#af4d0701b3a4985e08870b75db4fe2a75">  408</a></span>    <span class="keywordtype">bool</span> <a class="code hl_variable" href="structsir__threadpool.html#af4d0701b3a4985e08870b75db4fe2a75">cancel</a>;         </div>
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno">  409</span>} <a class="code hl_struct" href="structsir__threadpool.html">sir_threadpool</a>;</div>
</div>
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno">  410</span></div>
<div class="foldopen" id="foldopen00412" data-start="{" data-end="};">
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno"><a class="line" href="structsirbuf.html">  412</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno">  413</span>    <span class="keywordtype">char</span> style[<a class="code hl_define" href="config_8h.html#a5cdaa944bfe2228355cc4c34c3d315e8">SIR_MAXSTYLE</a>];</div>
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno">  414</span>    <span class="keywordtype">char</span>* timestamp;</div>
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno">  415</span>    <span class="keywordtype">char</span> msec[<a class="code hl_define" href="config_8h.html#ab048f63b09b424f84e19055dc0ec4a29">SIR_MAXMSEC</a>];</div>
<div class="line"><a id="l00416" name="l00416"></a><span class="lineno">  416</span>    <span class="keyword">const</span> <span class="keywordtype">char</span>* hostname;</div>
<div class="line"><a id="l00417" name="l00417"></a><span class="lineno">  417</span>    <span class="keyword">const</span> <span class="keywordtype">char</span>* pid;</div>
<div class="line"><a id="l00418" name="l00418"></a><span class="lineno">  418</span>    <span class="keyword">const</span> <span class="keywordtype">char</span>* level;</div>
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno">  419</span>    <span class="keyword">const</span> <span class="keywordtype">char</span>* name;</div>
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno">  420</span>    <span class="keywordtype">char</span> tid[SIR_MAXPID];</div>
<div class="line"><a id="l00421" name="l00421"></a><span class="lineno">  421</span>    <span class="keywordtype">char</span> message[<a class="code hl_define" href="config_8h.html#a5f006a2e9ce93ae8d693a2928af33bb2">SIR_MAXMESSAGE</a>];</div>
<div class="line"><a id="l00422" name="l00422"></a><span class="lineno">  422</span>    <span class="keywordtype">char</span> output[<a class="code hl_define" href="config_8h.html#ab3e26cb9ac224cb9a695ddf1ed099218">SIR_MAXOUTPUT</a>];</div>
<div class="line"><a id="l00423" name="l00423"></a><span class="lineno">  423</span>    <span class="keywordtype">size_t</span> output_len;</div>
<div class="line"><a id="l00424" name="l00424"></a><span class="lineno">  424</span>} <a class="code hl_struct" href="structsirbuf.html">sirbuf</a>;</div>
</div>
<div class="line"><a id="l00425" name="l00425"></a><span class="lineno">  425</span></div>
<div class="foldopen" id="foldopen00427" data-start="{" data-end="};">
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno"><a class="line" href="structsir__level__style__tuple.html">  427</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00428" name="l00428"></a><span class="lineno"><a class="line" href="structsir__level__style__tuple.html#aafe5ae7abfd17caaa4470368c3d2ed98">  428</a></span>    <span class="keyword">const</span> <a class="code hl_typedef" href="group__publictypes.html#ga076e759e9aa36cde2977f754a7ea186c">sir_level</a> <a class="code hl_variable" href="structsir__level__style__tuple.html#aafe5ae7abfd17caaa4470368c3d2ed98">level</a>;  </div>
<div class="line"><a id="l00429" name="l00429"></a><span class="lineno"><a class="line" href="structsir__level__style__tuple.html#a8fed0d03eeb0003783ccec5e26665a53">  429</a></span>    <a class="code hl_struct" href="group__publictypes.html#structsir__textstyle">sir_textstyle</a> <a class="code hl_variable" href="structsir__level__style__tuple.html#a8fed0d03eeb0003783ccec5e26665a53">style</a>;    </div>
<div class="line"><a id="l00430" name="l00430"></a><span class="lineno"><a class="line" href="structsir__level__style__tuple.html#a5f67704e0d74d266d0a5d2d3c9459816">  430</a></span>    <span class="keywordtype">char</span> <a class="code hl_variable" href="structsir__level__style__tuple.html#a5f67704e0d74d266d0a5d2d3c9459816">str</a>[<a class="code hl_define" href="config_8h.html#a5cdaa944bfe2228355cc4c34c3d315e8">SIR_MAXSTYLE</a>]; </div>
<div class="line"><a id="l00431" name="l00431"></a><span class="lineno">  431</span>} <a class="code hl_struct" href="structsir__level__style__tuple.html">sir_level_style_tuple</a>;</div>
</div>
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno">  432</span></div>
<div class="foldopen" id="foldopen00434" data-start="{" data-end="};">
<div class="line"><a id="l00434" name="l00434"></a><span class="lineno"><a class="line" href="structsir__text__style__data.html">  434</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00435" name="l00435"></a><span class="lineno">  435</span>    <a class="code hl_struct" href="structsir__level__style__tuple.html">sir_level_style_tuple</a>* map;</div>
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno">  436</span>    <a class="code hl_enumeration" href="group__publictypes.html#ga26686b620930358e8b50f287d6c96e51">sir_colormode</a>* color_mode;</div>
<div class="line"><a id="l00437" name="l00437"></a><span class="lineno">  437</span>} <a class="code hl_struct" href="structsir__text__style__data.html">sir_text_style_data</a>;</div>
</div>
<div class="line"><a id="l00438" name="l00438"></a><span class="lineno">  438</span></div>
<div class="foldopen" id="foldopen00440" data-start="{" data-end="};">
<div class="line"><a id="l00440" name="l00440"></a><span class="lineno"><a class="line" href="structsir__level__str__pair.html">  440</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00441" name="l00441"></a><span class="lineno"><a class="line" href="structsir__level__str__pair.html#ab3366344595f3aae38b06cc570381885">  441</a></span>    <span class="keyword">const</span> <a class="code hl_typedef" href="group__publictypes.html#ga076e759e9aa36cde2977f754a7ea186c">sir_level</a> <a class="code hl_variable" href="structsir__level__str__pair.html#ab3366344595f3aae38b06cc570381885">level</a>; </div>
<div class="line"><a id="l00442" name="l00442"></a><span class="lineno"><a class="line" href="structsir__level__str__pair.html#abb5bc77ea76db28a9896bad436e4f2d6">  442</a></span>    <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_variable" href="structsir__level__str__pair.html#abb5bc77ea76db28a9896bad436e4f2d6">fmt</a>;       </div>
<div class="line"><a id="l00443" name="l00443"></a><span class="lineno">  443</span>} <a class="code hl_struct" href="structsir__level__str__pair.html">sir_level_str_pair</a>;</div>
</div>
<div class="line"><a id="l00444" name="l00444"></a><span class="lineno">  444</span></div>
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno">  446</span><span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a id="l00447" name="l00447"></a><span class="lineno">  447</span>    SIRMI_CONFIG = 0,  </div>
<div class="line"><a id="l00448" name="l00448"></a><span class="lineno">  448</span>    SIRMI_FILECACHE,   </div>
<div class="line"><a id="l00449" name="l00449"></a><span class="lineno">  449</span>    SIRMI_PLUGINCACHE, </div>
<div class="line"><a id="l00450" name="l00450"></a><span class="lineno">  450</span><span class="preprocessor"># if !defined(SIR_NO_TEXT_STYLING)</span></div>
<div class="line"><a id="l00451" name="l00451"></a><span class="lineno">  451</span>    SIRMI_TEXTSTYLE,   </div>
<div class="line"><a id="l00452" name="l00452"></a><span class="lineno">  452</span><span class="preprocessor"># endif</span></div>
<div class="line"><a id="l00453" name="l00453"></a><span class="lineno">  453</span>} sir_mutex_id;</div>
<div class="line"><a id="l00454" name="l00454"></a><span class="lineno">  454</span></div>
<div class="foldopen" id="foldopen00456" data-start="{" data-end="};">
<div class="line"><a id="l00456" name="l00456"></a><span class="lineno"><a class="line" href="structsir__thread__err.html">  456</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00457" name="l00457"></a><span class="lineno">  457</span>    uint32_t lasterror;</div>
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno">  458</span>    <span class="keywordtype">int</span> os_code;</div>
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno">  459</span>    <span class="keywordtype">char</span> os_msg[<a class="code hl_define" href="config_8h.html#ad6fce840144259e992c33fb611f31262">SIR_MAXERROR</a>];</div>
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno">  460</span> </div>
<div class="line"><a id="l00461" name="l00461"></a><span class="lineno">  461</span>    <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00462" name="l00462"></a><span class="lineno">  462</span>        <span class="keyword">const</span> <span class="keywordtype">char</span>* func;</div>
<div class="line"><a id="l00463" name="l00463"></a><span class="lineno">  463</span>        <span class="keyword">const</span> <span class="keywordtype">char</span>* file;</div>
<div class="line"><a id="l00464" name="l00464"></a><span class="lineno">  464</span>        uint32_t line;</div>
<div class="line"><a id="l00465" name="l00465"></a><span class="lineno">  465</span>    } loc;</div>
<div class="line"><a id="l00466" name="l00466"></a><span class="lineno">  466</span>} <a class="code hl_struct" href="structsir__thread__err.html">sir_thread_err</a>;</div>
</div>
<div class="line"><a id="l00467" name="l00467"></a><span class="lineno">  467</span></div>
<div class="line"><a id="l00469" name="l00469"></a><span class="lineno">  469</span><span class="keyword">typedef</span> uint32_t sir_config_data_field;</div>
<div class="line"><a id="l00470" name="l00470"></a><span class="lineno">  470</span> </div>
<div class="line"><a id="l00471" name="l00471"></a><span class="lineno">  471</span><span class="preprocessor"># define SIRU_LEVELS     0x00000001U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00472" name="l00472"></a><span class="lineno">  472</span><span class="preprocessor"># define SIRU_OPTIONS    0x00000002U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00473" name="l00473"></a><span class="lineno">  473</span><span class="preprocessor"># define SIRU_SYSLOG_ID  0x00000004U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00474" name="l00474"></a><span class="lineno">  474</span><span class="preprocessor"># define SIRU_SYSLOG_CAT 0x00000008U </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00475" name="l00475"></a><span class="lineno">  475</span><span class="preprocessor"># define SIRU_ALL        0x0000000fU </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00476" name="l00476"></a><span class="lineno">  476</span></div>
<div class="foldopen" id="foldopen00478" data-start="{" data-end="};">
<div class="line"><a id="l00478" name="l00478"></a><span class="lineno"><a class="line" href="structsir__update__config__data.html">  478</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00479" name="l00479"></a><span class="lineno"><a class="line" href="structsir__update__config__data.html#ad61568937fcd6a019bd5e58d4103aa35">  479</a></span>    uint32_t <a class="code hl_variable" href="structsir__update__config__data.html#ad61568937fcd6a019bd5e58d4103aa35">fields</a>;         </div>
<div class="line"><a id="l00480" name="l00480"></a><span class="lineno"><a class="line" href="structsir__update__config__data.html#a76c8c666c84b831bf2cc77f92c5fa16b">  480</a></span>    <a class="code hl_typedef" href="group__publictypes.html#ga7ee5f2908abd2df9e89bcab0b6608edd">sir_levels</a>* <a class="code hl_variable" href="structsir__update__config__data.html#a76c8c666c84b831bf2cc77f92c5fa16b">levels</a>;      </div>
<div class="line"><a id="l00481" name="l00481"></a><span class="lineno"><a class="line" href="structsir__update__config__data.html#a8736ae94a5aaea53a2e4c8f06f7a870a">  481</a></span>    <a class="code hl_typedef" href="group__publictypes.html#gafb659914aac0129182d86f7d3414e85d">sir_options</a>* <a class="code hl_variable" href="structsir__update__config__data.html#a8736ae94a5aaea53a2e4c8f06f7a870a">opts</a>;       </div>
<div class="line"><a id="l00482" name="l00482"></a><span class="lineno"><a class="line" href="structsir__update__config__data.html#a58f88542d9e282860be66fcbba694223">  482</a></span>    <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_variable" href="structsir__update__config__data.html#a58f88542d9e282860be66fcbba694223">sl_identity</a>; </div>
<div class="line"><a id="l00483" name="l00483"></a><span class="lineno"><a class="line" href="structsir__update__config__data.html#ac4509b5698aa330492a9d1508e3f9480">  483</a></span>    <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code hl_variable" href="structsir__update__config__data.html#ac4509b5698aa330492a9d1508e3f9480">sl_category</a>; </div>
<div class="line"><a id="l00484" name="l00484"></a><span class="lineno">  484</span>} <a class="code hl_struct" href="structsir__update__config__data.html">sir_update_config_data</a>;</div>
</div>
<div class="line"><a id="l00485" name="l00485"></a><span class="lineno">  485</span> </div>
<div class="line"><a id="l00486" name="l00486"></a><span class="lineno">  486</span><span class="preprocessor">#endif </span><span class="comment">/* !_SIR_TYPES_H_INCLUDED */</span><span class="preprocessor"></span></div>
<div class="ttc" id="aansimacros_8h_html"><div class="ttname"><a href="ansimacros_8h.html">ansimacros.h</a></div><div class="ttdoc">ANSI escape sequence macros.</div></div>
<div class="ttc" id="aconfig_8h_html"><div class="ttname"><a href="config_8h.html">config.h</a></div><div class="ttdoc">Compile-time configuration.</div></div>
<div class="ttc" id="aconfig_8h_html_a24a907a8ba87d4355d11dca2476383b2"><div class="ttname"><a href="config_8h.html#a24a907a8ba87d4355d11dca2476383b2">SIR_MAX_SYSLOG_ID</a></div><div class="ttdeci">#define SIR_MAX_SYSLOG_ID</div><div class="ttdoc">The size, in characters, of the buffer used to hold system logger identity strings.</div><div class="ttdef"><b>Definition</b> config.h:373</div></div>
<div class="ttc" id="aconfig_8h_html_a5cdaa944bfe2228355cc4c34c3d315e8"><div class="ttname"><a href="config_8h.html#a5cdaa944bfe2228355cc4c34c3d315e8">SIR_MAXSTYLE</a></div><div class="ttdeci">#define SIR_MAXSTYLE</div><div class="ttdoc">The size, in characters, of the buffer used to hold a sequence of styling data in any color mode (the...</div><div class="ttdef"><b>Definition</b> config.h:397</div></div>
<div class="ttc" id="aconfig_8h_html_a5f006a2e9ce93ae8d693a2928af33bb2"><div class="ttname"><a href="config_8h.html#a5f006a2e9ce93ae8d693a2928af33bb2">SIR_MAXMESSAGE</a></div><div class="ttdeci">#define SIR_MAXMESSAGE</div><div class="ttdoc">The maximum number of characters allowable in one log message.</div><div class="ttdef"><b>Definition</b> config.h:342</div></div>
<div class="ttc" id="aconfig_8h_html_a85ed3139018ee9e7545c74c0885dff55"><div class="ttname"><a href="config_8h.html#a85ed3139018ee9e7545c74c0885dff55">SIR_MAXNAME</a></div><div class="ttdeci">#define SIR_MAXNAME</div><div class="ttdoc">The size, in characters, of the buffer used to hold process/appname format strings.</div><div class="ttdef"><b>Definition</b> config.h:365</div></div>
<div class="ttc" id="aconfig_8h_html_a98d559e1620108074d776bd6f33f85a4"><div class="ttname"><a href="config_8h.html#a98d559e1620108074d776bd6f33f85a4">SIR_MAXPLUGINS</a></div><div class="ttdeci">#define SIR_MAXPLUGINS</div><div class="ttdoc">The maximum number of plugin modules that may be loaded at one time.</div><div class="ttdef"><b>Definition</b> config.h:329</div></div>
<div class="ttc" id="aconfig_8h_html_aa1080a4bec531adb6d25c87ac4734399"><div class="ttname"><a href="config_8h.html#aa1080a4bec531adb6d25c87ac4734399">SIR_MAXFILES</a></div><div class="ttdeci">#define SIR_MAXFILES</div><div class="ttdoc">The maximum number of log files that may be registered at one time.</div><div class="ttdef"><b>Definition</b> config.h:324</div></div>
<div class="ttc" id="aconfig_8h_html_ab048f63b09b424f84e19055dc0ec4a29"><div class="ttname"><a href="config_8h.html#ab048f63b09b424f84e19055dc0ec4a29">SIR_MAXMSEC</a></div><div class="ttdeci">#define SIR_MAXMSEC</div><div class="ttdoc">The size, in characters, of the buffer used to hold millisecond strings.</div><div class="ttdef"><b>Definition</b> config.h:352</div></div>
<div class="ttc" id="aconfig_8h_html_ab3e26cb9ac224cb9a695ddf1ed099218"><div class="ttname"><a href="config_8h.html#ab3e26cb9ac224cb9a695ddf1ed099218">SIR_MAXOUTPUT</a></div><div class="ttdeci">#define SIR_MAXOUTPUT</div><div class="ttdoc">The maximum size, in characters, of final formatted output.</div><div class="ttdef"><b>Definition</b> config.h:413</div></div>
<div class="ttc" id="aconfig_8h_html_ac1e50274f913ef71f196f20b9dfbbba6"><div class="ttname"><a href="config_8h.html#ac1e50274f913ef71f196f20b9dfbbba6">SIR_MAXTIME</a></div><div class="ttdeci">#define SIR_MAXTIME</div><div class="ttdoc">The size, in characters, of the buffer used to hold time format strings.</div><div class="ttdef"><b>Definition</b> config.h:347</div></div>
<div class="ttc" id="aconfig_8h_html_acf0d0fad6a98c920cced53dbe9b54d26"><div class="ttname"><a href="config_8h.html#acf0d0fad6a98c920cced53dbe9b54d26">SIR_MAX_SYSLOG_CAT</a></div><div class="ttdeci">#define SIR_MAX_SYSLOG_CAT</div><div class="ttdoc">The size, in characters, of the buffer used to hold system logger category strings.</div><div class="ttdef"><b>Definition</b> config.h:381</div></div>
<div class="ttc" id="aconfig_8h_html_ad6fce840144259e992c33fb611f31262"><div class="ttname"><a href="config_8h.html#ad6fce840144259e992c33fb611f31262">SIR_MAXERROR</a></div><div class="ttdeci">#define SIR_MAXERROR</div><div class="ttdoc">The maximum size, in characters, of an error message.</div><div class="ttdef"><b>Definition</b> config.h:419</div></div>
<div class="ttc" id="agroup__publictypes_html_a0650ec340669782fe39c6272e47d50f6"><div class="ttname"><a href="group__publictypes.html#a0650ec340669782fe39c6272e47d50f6">sir_errorinfo::msg</a></div><div class="ttdeci">char msg[SIR_MAXERROR]</div><div class="ttdoc">Error message associated with code.</div><div class="ttdef"><b>Definition</b> types.h:157</div></div>
<div class="ttc" id="agroup__publictypes_html_a0f1ca5e5f040ff432ec2f28ac23b1504"><div class="ttname"><a href="group__publictypes.html#a0f1ca5e5f040ff432ec2f28ac23b1504">sir_errorinfo::file</a></div><div class="ttdeci">const char * file</div><div class="ttdoc">Name of the file in which the error occurred.</div><div class="ttdef"><b>Definition</b> types.h:152</div></div>
<div class="ttc" id="agroup__publictypes_html_a1b19b7713ae46decdf5c2f25afe6db2b"><div class="ttname"><a href="group__publictypes.html#a1b19b7713ae46decdf5c2f25afe6db2b">sir_errorinfo::code</a></div><div class="ttdeci">uint16_t code</div><div class="ttdoc">Numeric error code (see sir_errorcode).</div><div class="ttdef"><b>Definition</b> types.h:156</div></div>
<div class="ttc" id="agroup__publictypes_html_a2765f5ddb8a50349623160cc96c81a4e"><div class="ttname"><a href="group__publictypes.html#a2765f5ddb8a50349623160cc96c81a4e">sir_errorinfo::os_code</a></div><div class="ttdeci">int os_code</div><div class="ttdoc">If an OS/libc error, the relevant code.</div><div class="ttdef"><b>Definition</b> types.h:154</div></div>
<div class="ttc" id="agroup__publictypes_html_a2fb4c11cdb645a46f008c34678260bbc"><div class="ttname"><a href="group__publictypes.html#a2fb4c11cdb645a46f008c34678260bbc">sir_syslog_dest::levels</a></div><div class="ttdeci">sir_levels levels</div><div class="ttdoc">sir_level bitmask defining levels to register for.</div><div class="ttdef"><b>Definition</b> types.h:196</div></div>
<div class="ttc" id="agroup__publictypes_html_a3dc07c2b3fbe96d9c6f4d8af2ef90687"><div class="ttname"><a href="group__publictypes.html#a3dc07c2b3fbe96d9c6f4d8af2ef90687">sir_stdio_dest::levels</a></div><div class="ttdeci">sir_levels levels</div><div class="ttdoc">sir_level bitmask defining output levels to register for.</div><div class="ttdef"><b>Definition</b> types.h:183</div></div>
<div class="ttc" id="agroup__publictypes_html_a3fb54399893a1e17b865471d22467231"><div class="ttname"><a href="group__publictypes.html#a3fb54399893a1e17b865471d22467231">sir_textstyle::bg</a></div><div class="ttdeci">sir_textcolor bg</div><div class="ttdoc">Background color.</div><div class="ttdef"><b>Definition</b> types.h:172</div></div>
<div class="ttc" id="agroup__publictypes_html_a5dd5e64c144c5652c8bfea5d9f1eec9b"><div class="ttname"><a href="group__publictypes.html#a5dd5e64c144c5652c8bfea5d9f1eec9b">sir_textstyle::attr</a></div><div class="ttdeci">sir_textattr attr</div><div class="ttdoc">Text attributes.</div><div class="ttdef"><b>Definition</b> types.h:170</div></div>
<div class="ttc" id="agroup__publictypes_html_a6db435f352d7ea4a67807a3feb447bf7"><div class="ttname"><a href="group__publictypes.html#a6db435f352d7ea4a67807a3feb447bf7">sir_syslog_dest._state::logger</a></div><div class="ttdeci">void * logger</div><div class="ttdoc">System logger handle/identifier.</div></div>
<div class="ttc" id="agroup__publictypes_html_a742a53b19bb736a6da11298c3bc5ff93"><div class="ttname"><a href="group__publictypes.html#a742a53b19bb736a6da11298c3bc5ff93">sir_errorinfo::os_msg</a></div><div class="ttdeci">char os_msg[SIR_MAXERROR]</div><div class="ttdoc">If an OS/libc error, the relevant message.</div><div class="ttdef"><b>Definition</b> types.h:155</div></div>
<div class="ttc" id="agroup__publictypes_html_a7e1370c46de95363162d1c7879fca723"><div class="ttname"><a href="group__publictypes.html#a7e1370c46de95363162d1c7879fca723">sir_stdio_dest::opts</a></div><div class="ttdeci">sir_options opts</div><div class="ttdoc">sir_option bitmask defining the formatting of output.</div><div class="ttdef"><b>Definition</b> types.h:186</div></div>
<div class="ttc" id="agroup__publictypes_html_a86b187f809d969f08dd2edef0e4cb248"><div class="ttname"><a href="group__publictypes.html#a86b187f809d969f08dd2edef0e4cb248">sirinit::d_syslog</a></div><div class="ttdeci">sir_syslog_dest d_syslog</div><div class="ttdoc">System logger configuration.</div><div class="ttdef"><b>Definition</b> types.h:247</div></div>
<div class="ttc" id="agroup__publictypes_html_aac81443950636231618b982dfb5b122f"><div class="ttname"><a href="group__publictypes.html#aac81443950636231618b982dfb5b122f">sir_errorinfo::line</a></div><div class="ttdeci">uint32_t line</div><div class="ttdoc">Line number at which the error occurred.</div><div class="ttdef"><b>Definition</b> types.h:153</div></div>
<div class="ttc" id="agroup__publictypes_html_abdce8407bc07b5c7bdb945bd3797dea5"><div class="ttname"><a href="group__publictypes.html#abdce8407bc07b5c7bdb945bd3797dea5">sirinit::d_stdout</a></div><div class="ttdeci">sir_stdio_dest d_stdout</div><div class="ttdoc">stdout configuration.</div><div class="ttdef"><b>Definition</b> types.h:245</div></div>
<div class="ttc" id="agroup__publictypes_html_ac003c97d6b63150341f2f29166a533e3"><div class="ttname"><a href="group__publictypes.html#ac003c97d6b63150341f2f29166a533e3">sirinit::name</a></div><div class="ttdeci">char name[SIR_MAXNAME]</div><div class="ttdoc">The name to use in log messages (usually the process name).</div><div class="ttdef"><b>Definition</b> types.h:253</div></div>
<div class="ttc" id="agroup__publictypes_html_ac66a688f2db4be6a408b8c570ffd0811"><div class="ttname"><a href="group__publictypes.html#ac66a688f2db4be6a408b8c570ffd0811">sirinit::d_stderr</a></div><div class="ttdeci">sir_stdio_dest d_stderr</div><div class="ttdoc">stderr configuration.</div><div class="ttdef"><b>Definition</b> types.h:246</div></div>
<div class="ttc" id="agroup__publictypes_html_ac6fb238c1a2b51dfff2b62b4c5acd42b"><div class="ttname"><a href="group__publictypes.html#ac6fb238c1a2b51dfff2b62b4c5acd42b">sir_textstyle::fg</a></div><div class="ttdeci">sir_textcolor fg</div><div class="ttdoc">Foreground color.</div><div class="ttdef"><b>Definition</b> types.h:171</div></div>
<div class="ttc" id="agroup__publictypes_html_acbc738f8c0f9dc404ac85e13cb43c7c5"><div class="ttname"><a href="group__publictypes.html#acbc738f8c0f9dc404ac85e13cb43c7c5">sir_syslog_dest::identity</a></div><div class="ttdeci">char identity[SIR_MAX_SYSLOG_ID]</div><div class="ttdoc">The identity string to pass to the system logger.</div><div class="ttdef"><b>Definition</b> types.h:224</div></div>
<div class="ttc" id="agroup__publictypes_html_ace79b2f2bd4d08d0c6e4151dafb3266b"><div class="ttname"><a href="group__publictypes.html#ace79b2f2bd4d08d0c6e4151dafb3266b">sir_syslog_dest::category</a></div><div class="ttdeci">char category[SIR_MAX_SYSLOG_CAT]</div><div class="ttdoc">The category string to pass to the system logger.</div><div class="ttdef"><b>Definition</b> types.h:230</div></div>
<div class="ttc" id="agroup__publictypes_html_ad8f026edd9c8667d897eb24016f2e81f"><div class="ttname"><a href="group__publictypes.html#ad8f026edd9c8667d897eb24016f2e81f">sir_syslog_dest::opts</a></div><div class="ttdeci">sir_options opts</div><div class="ttdoc">sir_option bitmask defining the formatting of output.</div><div class="ttdef"><b>Definition</b> types.h:212</div></div>
<div class="ttc" id="agroup__publictypes_html_af2ce11ebf110993621bedd8e747d7b1b"><div class="ttname"><a href="group__publictypes.html#af2ce11ebf110993621bedd8e747d7b1b">sir_syslog_dest._state::mask</a></div><div class="ttdeci">uint32_t mask</div><div class="ttdoc">State bitmask.</div></div>
<div class="ttc" id="agroup__publictypes_html_af4a1521a69e33827d65f58ae91652eea"><div class="ttname"><a href="group__publictypes.html#af4a1521a69e33827d65f58ae91652eea">sir_errorinfo::func</a></div><div class="ttdeci">const char * func</div><div class="ttdoc">Name of the function in which the error occurred.</div><div class="ttdef"><b>Definition</b> types.h:151</div></div>
<div class="ttc" id="agroup__publictypes_html_ga076e759e9aa36cde2977f754a7ea186c"><div class="ttname"><a href="group__publictypes.html#ga076e759e9aa36cde2977f754a7ea186c">sir_level</a></div><div class="ttdeci">uint16_t sir_level</div><div class="ttdoc">The sir_level type.</div><div class="ttdef"><b>Definition</b> types.h:71</div></div>
<div class="ttc" id="agroup__publictypes_html_ga0da4ab4b4468b6b71cd8e924b2adf2e2"><div class="ttname"><a href="group__publictypes.html#ga0da4ab4b4468b6b71cd8e924b2adf2e2">sirfileid</a></div><div class="ttdeci">uint32_t sirfileid</div><div class="ttdoc">Log file identifier type.</div><div class="ttdef"><b>Definition</b> types.h:49</div></div>
<div class="ttc" id="agroup__publictypes_html_ga1bf5e489a6af0dcb905788c1e7a5ec2d"><div class="ttname"><a href="group__publictypes.html#ga1bf5e489a6af0dcb905788c1e7a5ec2d">sir_textattr</a></div><div class="ttdeci">sir_textattr</div><div class="ttdoc">Attributes for stdio output.</div><div class="ttdef"><b>Definition</b> types.h:107</div></div>
<div class="ttc" id="agroup__publictypes_html_ga26686b620930358e8b50f287d6c96e51"><div class="ttname"><a href="group__publictypes.html#ga26686b620930358e8b50f287d6c96e51">sir_colormode</a></div><div class="ttdeci">sir_colormode</div><div class="ttdoc">Color mode selection.</div><div class="ttdef"><b>Definition</b> types.h:99</div></div>
<div class="ttc" id="agroup__publictypes_html_ga7ee5f2908abd2df9e89bcab0b6608edd"><div class="ttname"><a href="group__publictypes.html#ga7ee5f2908abd2df9e89bcab0b6608edd">sir_levels</a></div><div class="ttdeci">uint16_t sir_levels</div><div class="ttdoc">sir_level bitmask type.</div><div class="ttdef"><b>Definition</b> types.h:74</div></div>
<div class="ttc" id="agroup__publictypes_html_gab4214e294af5ac3c91f21c1d379e10c5"><div class="ttname"><a href="group__publictypes.html#gab4214e294af5ac3c91f21c1d379e10c5">sir_textcolor</a></div><div class="ttdeci">uint32_t sir_textcolor</div><div class="ttdoc">stdio text color type.</div><div class="ttdef"><b>Definition</b> types.h:141</div></div>
<div class="ttc" id="agroup__publictypes_html_gac28da6e48402cc15ead5b5384bccb6fd"><div class="ttname"><a href="group__publictypes.html#gac28da6e48402cc15ead5b5384bccb6fd">sir_option</a></div><div class="ttdeci">uint32_t sir_option</div><div class="ttdoc">The sir_option type.</div><div class="ttdef"><b>Definition</b> types.h:93</div></div>
<div class="ttc" id="agroup__publictypes_html_gadbc71df98df765cddfed4aa11c805470"><div class="ttname"><a href="group__publictypes.html#gadbc71df98df765cddfed4aa11c805470">sirpluginid</a></div><div class="ttdeci">uint32_t sirpluginid</div><div class="ttdoc">Plugin module identifier type.</div><div class="ttdef"><b>Definition</b> types.h:52</div></div>
<div class="ttc" id="agroup__publictypes_html_gafb659914aac0129182d86f7d3414e85d"><div class="ttname"><a href="group__publictypes.html#gafb659914aac0129182d86f7d3414e85d">sir_options</a></div><div class="ttdeci">uint32_t sir_options</div><div class="ttdoc">sir_option bitmask type.</div><div class="ttdef"><b>Definition</b> types.h:96</div></div>
<div class="ttc" id="agroup__publictypes_html_gga1bf5e489a6af0dcb905788c1e7a5ec2da57a1bd50ad704c18289c2bf74a2a68c5"><div class="ttname"><a href="group__publictypes.html#gga1bf5e489a6af0dcb905788c1e7a5ec2da57a1bd50ad704c18289c2bf74a2a68c5">SIRTA_EMPH</a></div><div class="ttdeci">@ SIRTA_EMPH</div><div class="ttdoc">Italicized/emphasized text.</div><div class="ttdef"><b>Definition</b> types.h:111</div></div>
<div class="ttc" id="agroup__publictypes_html_gga1bf5e489a6af0dcb905788c1e7a5ec2da5c6d2b3a91b49ff14f9946799f00b20c"><div class="ttname"><a href="group__publictypes.html#gga1bf5e489a6af0dcb905788c1e7a5ec2da5c6d2b3a91b49ff14f9946799f00b20c">SIRTA_DIM</a></div><div class="ttdeci">@ SIRTA_DIM</div><div class="ttdoc">Dimmed text.</div><div class="ttdef"><b>Definition</b> types.h:110</div></div>
<div class="ttc" id="agroup__publictypes_html_gga1bf5e489a6af0dcb905788c1e7a5ec2da79ce8f5c35788a58b81c24684563e629"><div class="ttname"><a href="group__publictypes.html#gga1bf5e489a6af0dcb905788c1e7a5ec2da79ce8f5c35788a58b81c24684563e629">SIRTA_ULINE</a></div><div class="ttdeci">@ SIRTA_ULINE</div><div class="ttdoc">Underlined text.</div><div class="ttdef"><b>Definition</b> types.h:112</div></div>
<div class="ttc" id="agroup__publictypes_html_gga1bf5e489a6af0dcb905788c1e7a5ec2daa0d426c2ea1dfa48ad6e29a69f03d04c"><div class="ttname"><a href="group__publictypes.html#gga1bf5e489a6af0dcb905788c1e7a5ec2daa0d426c2ea1dfa48ad6e29a69f03d04c">SIRTA_NORMAL</a></div><div class="ttdeci">@ SIRTA_NORMAL</div><div class="ttdoc">Normal text.</div><div class="ttdef"><b>Definition</b> types.h:108</div></div>
<div class="ttc" id="agroup__publictypes_html_gga1bf5e489a6af0dcb905788c1e7a5ec2dabd921418f53873c49dea5f9f3ea81f4b"><div class="ttname"><a href="group__publictypes.html#gga1bf5e489a6af0dcb905788c1e7a5ec2dabd921418f53873c49dea5f9f3ea81f4b">SIRTA_BOLD</a></div><div class="ttdeci">@ SIRTA_BOLD</div><div class="ttdoc">Bold text.</div><div class="ttdef"><b>Definition</b> types.h:109</div></div>
<div class="ttc" id="agroup__publictypes_html_gga26686b620930358e8b50f287d6c96e51a1e9b6fdb0f6841f91060766dfefaa504"><div class="ttname"><a href="group__publictypes.html#gga26686b620930358e8b50f287d6c96e51a1e9b6fdb0f6841f91060766dfefaa504">SIRCM_16</a></div><div class="ttdeci">@ SIRCM_16</div><div class="ttdoc">4-bit 16-color mode.</div><div class="ttdef"><b>Definition</b> types.h:100</div></div>
<div class="ttc" id="agroup__publictypes_html_gga26686b620930358e8b50f287d6c96e51ae0caa45527e7c797fef3719f947bc2ab"><div class="ttname"><a href="group__publictypes.html#gga26686b620930358e8b50f287d6c96e51ae0caa45527e7c797fef3719f947bc2ab">SIRCM_RGB</a></div><div class="ttdeci">@ SIRCM_RGB</div><div class="ttdoc">24-bit RGB-color mode.</div><div class="ttdef"><b>Definition</b> types.h:102</div></div>
<div class="ttc" id="agroup__publictypes_html_gga26686b620930358e8b50f287d6c96e51aec247277302fc0b522454c2f02e77b70"><div class="ttname"><a href="group__publictypes.html#gga26686b620930358e8b50f287d6c96e51aec247277302fc0b522454c2f02e77b70">SIRCM_INVALID</a></div><div class="ttdeci">@ SIRCM_INVALID</div><div class="ttdoc">Represents the invalid color mode.</div><div class="ttdef"><b>Definition</b> types.h:103</div></div>
<div class="ttc" id="agroup__publictypes_html_gga26686b620930358e8b50f287d6c96e51af6f2ac3c69c5fd02bac6d861bebdb441"><div class="ttname"><a href="group__publictypes.html#gga26686b620930358e8b50f287d6c96e51af6f2ac3c69c5fd02bac6d861bebdb441">SIRCM_256</a></div><div class="ttdeci">@ SIRCM_256</div><div class="ttdoc">8-bit 256-color mode.</div><div class="ttdef"><b>Definition</b> types.h:101</div></div>
<div class="ttc" id="agroup__publictypes_html_ggadff1cac59a16eeebd003c352a1862fb6a047ba18fa823187083da9b56bfde7329"><div class="ttname"><a href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a047ba18fa823187083da9b56bfde7329">SIRTC_LGRAY</a></div><div class="ttdeci">@ SIRTC_LGRAY</div><div class="ttdoc">Light gray.</div><div class="ttdef"><b>Definition</b> types.h:125</div></div>
<div class="ttc" id="agroup__publictypes_html_ggadff1cac59a16eeebd003c352a1862fb6a17661620bd839f5e015a43d5e6913c0f"><div class="ttname"><a href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a17661620bd839f5e015a43d5e6913c0f">SIRTC_BYELLOW</a></div><div class="ttdeci">@ SIRTC_BYELLOW</div><div class="ttdoc">Bright yellow.</div><div class="ttdef"><b>Definition</b> types.h:129</div></div>
<div class="ttc" id="agroup__publictypes_html_ggadff1cac59a16eeebd003c352a1862fb6a283e06452d5e663666c4274a94ccab2a"><div class="ttname"><a href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a283e06452d5e663666c4274a94ccab2a">SIRTC_CYAN</a></div><div class="ttdeci">@ SIRTC_CYAN</div><div class="ttdoc">Cyan.</div><div class="ttdef"><b>Definition</b> types.h:124</div></div>
<div class="ttc" id="agroup__publictypes_html_ggadff1cac59a16eeebd003c352a1862fb6a2c5ba8731523096ff871e27e82d9a9ba"><div class="ttname"><a href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a2c5ba8731523096ff871e27e82d9a9ba">SIRTC_YELLOW</a></div><div class="ttdeci">@ SIRTC_YELLOW</div><div class="ttdoc">Yellow.</div><div class="ttdef"><b>Definition</b> types.h:121</div></div>
<div class="ttc" id="agroup__publictypes_html_ggadff1cac59a16eeebd003c352a1862fb6a4eedafe058fd32443278fbcfa4b9bc10"><div class="ttname"><a href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a4eedafe058fd32443278fbcfa4b9bc10">SIRTC_BLUE</a></div><div class="ttdeci">@ SIRTC_BLUE</div><div class="ttdoc">Blue.</div><div class="ttdef"><b>Definition</b> types.h:122</div></div>
<div class="ttc" id="agroup__publictypes_html_ggadff1cac59a16eeebd003c352a1862fb6a51ff94e190c38445e9c1c14d81c47f74"><div class="ttname"><a href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a51ff94e190c38445e9c1c14d81c47f74">SIRTC_BGREEN</a></div><div class="ttdeci">@ SIRTC_BGREEN</div><div class="ttdoc">Bright green.</div><div class="ttdef"><b>Definition</b> types.h:128</div></div>
<div class="ttc" id="agroup__publictypes_html_ggadff1cac59a16eeebd003c352a1862fb6a6435ad1ff8e5c1495342f96398f73d8b"><div class="ttname"><a href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a6435ad1ff8e5c1495342f96398f73d8b">SIRTC_DEFAULT</a></div><div class="ttdeci">@ SIRTC_DEFAULT</div><div class="ttdoc">Represents the default color.</div><div class="ttdef"><b>Definition</b> types.h:137</div></div>
<div class="ttc" id="agroup__publictypes_html_ggadff1cac59a16eeebd003c352a1862fb6a67abb820e54b6f4eb6c36889cdb161a1"><div class="ttname"><a href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a67abb820e54b6f4eb6c36889cdb161a1">SIRTC_BLACK</a></div><div class="ttdeci">@ SIRTC_BLACK</div><div class="ttdoc">Black.</div><div class="ttdef"><b>Definition</b> types.h:118</div></div>
<div class="ttc" id="agroup__publictypes_html_ggadff1cac59a16eeebd003c352a1862fb6a79f980cfe1c098f99358b9250c52491b"><div class="ttname"><a href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a79f980cfe1c098f99358b9250c52491b">SIRTC_WHITE</a></div><div class="ttdeci">@ SIRTC_WHITE</div><div class="ttdoc">White.</div><div class="ttdef"><b>Definition</b> types.h:133</div></div>
<div class="ttc" id="agroup__publictypes_html_ggadff1cac59a16eeebd003c352a1862fb6a8ca3ef305d6d19e9469e42cab90eda7f"><div class="ttname"><a href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a8ca3ef305d6d19e9469e42cab90eda7f">SIRTC_BMAGENTA</a></div><div class="ttdeci">@ SIRTC_BMAGENTA</div><div class="ttdoc">Bright magenta.</div><div class="ttdef"><b>Definition</b> types.h:131</div></div>
<div class="ttc" id="agroup__publictypes_html_ggadff1cac59a16eeebd003c352a1862fb6a9c0ac02a1b3d8964b40ec838a14b48b3"><div class="ttname"><a href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6a9c0ac02a1b3d8964b40ec838a14b48b3">SIRTC_BCYAN</a></div><div class="ttdeci">@ SIRTC_BCYAN</div><div class="ttdoc">Bright cyan.</div><div class="ttdef"><b>Definition</b> types.h:132</div></div>
<div class="ttc" id="agroup__publictypes_html_ggadff1cac59a16eeebd003c352a1862fb6aa5528759208615ea1a26f2b31361962c"><div class="ttname"><a href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6aa5528759208615ea1a26f2b31361962c">SIRTC_MAGENTA</a></div><div class="ttdeci">@ SIRTC_MAGENTA</div><div class="ttdoc">Magenta.</div><div class="ttdef"><b>Definition</b> types.h:123</div></div>
<div class="ttc" id="agroup__publictypes_html_ggadff1cac59a16eeebd003c352a1862fb6aa62b22cd035e89e52f4f51e5ccc9802c"><div class="ttname"><a href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6aa62b22cd035e89e52f4f51e5ccc9802c">SIRTC_RED</a></div><div class="ttdeci">@ SIRTC_RED</div><div class="ttdoc">Red.</div><div class="ttdef"><b>Definition</b> types.h:119</div></div>
<div class="ttc" id="agroup__publictypes_html_ggadff1cac59a16eeebd003c352a1862fb6ac20967fac8888c04ce03927236cf0b69"><div class="ttname"><a href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6ac20967fac8888c04ce03927236cf0b69">SIRTC_BBLUE</a></div><div class="ttdeci">@ SIRTC_BBLUE</div><div class="ttdoc">Bright blue.</div><div class="ttdef"><b>Definition</b> types.h:130</div></div>
<div class="ttc" id="agroup__publictypes_html_ggadff1cac59a16eeebd003c352a1862fb6aed8555bf560bde4696de7340c04984d5"><div class="ttname"><a href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6aed8555bf560bde4696de7340c04984d5">SIRTC_BRED</a></div><div class="ttdeci">@ SIRTC_BRED</div><div class="ttdoc">Bright red.</div><div class="ttdef"><b>Definition</b> types.h:127</div></div>
<div class="ttc" id="agroup__publictypes_html_ggadff1cac59a16eeebd003c352a1862fb6afbfeed1f48833f2fe7bb49c1d35d217f"><div class="ttname"><a href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6afbfeed1f48833f2fe7bb49c1d35d217f">SIRTC_GREEN</a></div><div class="ttdeci">@ SIRTC_GREEN</div><div class="ttdoc">Green.</div><div class="ttdef"><b>Definition</b> types.h:120</div></div>
<div class="ttc" id="agroup__publictypes_html_ggadff1cac59a16eeebd003c352a1862fb6afc39eaef40fe161644258c9465c537bd"><div class="ttname"><a href="group__publictypes.html#ggadff1cac59a16eeebd003c352a1862fb6afc39eaef40fe161644258c9465c537bd">SIRTC_DGRAY</a></div><div class="ttdeci">@ SIRTC_DGRAY</div><div class="ttdoc">Dark gray.</div><div class="ttdef"><b>Definition</b> types.h:126</div></div>
<div class="ttc" id="agroup__publictypes_html_structsir__errorinfo"><div class="ttname"><a href="group__publictypes.html#structsir__errorinfo">sir_errorinfo</a></div><div class="ttdoc">Information about an error that occurred.</div><div class="ttdef"><b>Definition</b> types.h:150</div></div>
<div class="ttc" id="agroup__publictypes_html_structsir__stdio__dest"><div class="ttname"><a href="group__publictypes.html#structsir__stdio__dest">sir_stdio_dest</a></div><div class="ttdoc">Configuration for stdio destinations (stdout and stderr).</div><div class="ttdef"><b>Definition</b> types.h:181</div></div>
<div class="ttc" id="agroup__publictypes_html_structsir__syslog__dest"><div class="ttname"><a href="group__publictypes.html#structsir__syslog__dest">sir_syslog_dest</a></div><div class="ttdoc">Configuration for the system logger destination.</div><div class="ttdef"><b>Definition</b> types.h:195</div></div>
<div class="ttc" id="agroup__publictypes_html_structsir__textstyle"><div class="ttname"><a href="group__publictypes.html#structsir__textstyle">sir_textstyle</a></div><div class="ttdoc">Container for all the information associated with the appearance of text in the context of stdio.</div><div class="ttdef"><b>Definition</b> types.h:169</div></div>
<div class="ttc" id="agroup__publictypes_html_structsirinit"><div class="ttname"><a href="group__publictypes.html#structsirinit">sirinit</a></div><div class="ttdoc">libsir initialization and configuration data.</div><div class="ttdef"><b>Definition</b> types.h:244</div></div>
<div class="ttc" id="astructsir__level__str__pair_html"><div class="ttname"><a href="structsir__level__str__pair.html">sir_level_str_pair</a></div><div class="ttdoc">sir_level &lt;-&gt; human-readable string form.</div><div class="ttdef"><b>Definition</b> types.h:440</div></div>
<div class="ttc" id="astructsir__level__str__pair_html_ab3366344595f3aae38b06cc570381885"><div class="ttname"><a href="structsir__level__str__pair.html#ab3366344595f3aae38b06cc570381885">sir_level_str_pair::level</a></div><div class="ttdeci">const sir_level level</div><div class="ttdoc">The level for which the string applies.</div><div class="ttdef"><b>Definition</b> types.h:441</div></div>
<div class="ttc" id="astructsir__level__str__pair_html_abb5bc77ea76db28a9896bad436e4f2d6"><div class="ttname"><a href="structsir__level__str__pair.html#abb5bc77ea76db28a9896bad436e4f2d6">sir_level_str_pair::fmt</a></div><div class="ttdeci">const char * fmt</div><div class="ttdoc">The formatted string representation.</div><div class="ttdef"><b>Definition</b> types.h:442</div></div>
<div class="ttc" id="astructsir__level__style__tuple_html"><div class="ttname"><a href="structsir__level__style__tuple.html">sir_level_style_tuple</a></div><div class="ttdoc">sir_level &lt;-&gt; sir_textstyle mapping.</div><div class="ttdef"><b>Definition</b> types.h:427</div></div>
<div class="ttc" id="astructsir__level__style__tuple_html_a5f67704e0d74d266d0a5d2d3c9459816"><div class="ttname"><a href="structsir__level__style__tuple.html#a5f67704e0d74d266d0a5d2d3c9459816">sir_level_style_tuple::str</a></div><div class="ttdeci">char str[SIR_MAXSTYLE]</div><div class="ttdoc">The formatted string representation.</div><div class="ttdef"><b>Definition</b> types.h:430</div></div>
<div class="ttc" id="astructsir__level__style__tuple_html_a8fed0d03eeb0003783ccec5e26665a53"><div class="ttname"><a href="structsir__level__style__tuple.html#a8fed0d03eeb0003783ccec5e26665a53">sir_level_style_tuple::style</a></div><div class="ttdeci">sir_textstyle style</div><div class="ttdoc">The un-formatted representation.</div><div class="ttdef"><b>Definition</b> types.h:429</div></div>
<div class="ttc" id="astructsir__level__style__tuple_html_aafe5ae7abfd17caaa4470368c3d2ed98"><div class="ttname"><a href="structsir__level__style__tuple.html#aafe5ae7abfd17caaa4470368c3d2ed98">sir_level_style_tuple::level</a></div><div class="ttdeci">const sir_level level</div><div class="ttdoc">The level for which the style applies.</div><div class="ttdef"><b>Definition</b> types.h:428</div></div>
<div class="ttc" id="astructsir__plugin_html"><div class="ttname"><a href="structsir__plugin.html">sir_plugin</a></div><div class="ttdoc">Internally-used plugin module data.</div><div class="ttdef"><b>Definition</b> types.h:368</div></div>
<div class="ttc" id="astructsir__plugincache_html"><div class="ttname"><a href="structsir__plugincache.html">sir_plugincache</a></div><div class="ttdoc">Plugin module cache.</div><div class="ttdef"><b>Definition</b> types.h:379</div></div>
<div class="ttc" id="astructsir__pluginifacev1_html"><div class="ttname"><a href="structsir__pluginifacev1.html">sir_pluginifacev1</a></div><div class="ttdoc">Plugin interface for v1.</div><div class="ttdef"><b>Definition</b> types.h:358</div></div>
<div class="ttc" id="astructsir__pluginifacev1_html_a17698cba1d7ed214a11774078526c615"><div class="ttname"><a href="structsir__pluginifacev1.html#a17698cba1d7ed214a11774078526c615">sir_pluginifacev1::cleanup</a></div><div class="ttdeci">sir_plugin_cleanupfn cleanup</div><div class="ttdoc">Address of sir_plugin_cleanup.</div><div class="ttdef"><b>Definition</b> types.h:362</div></div>
<div class="ttc" id="astructsir__pluginifacev1_html_a48761a407679ba47dd18f2a52ddeb422"><div class="ttname"><a href="structsir__pluginifacev1.html#a48761a407679ba47dd18f2a52ddeb422">sir_pluginifacev1::query</a></div><div class="ttdeci">sir_plugin_queryfn query</div><div class="ttdoc">Address of sir_plugin_query.</div><div class="ttdef"><b>Definition</b> types.h:359</div></div>
<div class="ttc" id="astructsir__pluginifacev1_html_a7be5d9cb671d562cdc031bb6962c9258"><div class="ttname"><a href="structsir__pluginifacev1.html#a7be5d9cb671d562cdc031bb6962c9258">sir_pluginifacev1::write</a></div><div class="ttdeci">sir_plugin_writefn write</div><div class="ttdoc">Address of sir_plugin_write.</div><div class="ttdef"><b>Definition</b> types.h:361</div></div>
<div class="ttc" id="astructsir__pluginifacev1_html_af8ba5a3a8a30ff6decd9c1795003cfcf"><div class="ttname"><a href="structsir__pluginifacev1.html#af8ba5a3a8a30ff6decd9c1795003cfcf">sir_pluginifacev1::init</a></div><div class="ttdeci">sir_plugin_initfn init</div><div class="ttdoc">Address of sir_plugin_init.</div><div class="ttdef"><b>Definition</b> types.h:360</div></div>
<div class="ttc" id="astructsir__plugininfo_html"><div class="ttname"><a href="structsir__plugininfo.html">sir_plugininfo</a></div><div class="ttdoc">The libsir-to-plugin query data structure.</div><div class="ttdef"><b>Definition</b> types.h:329</div></div>
<div class="ttc" id="astructsir__plugininfo_html_a125b2cde17902e0d197fa3157337f3ae"><div class="ttname"><a href="structsir__plugininfo.html#a125b2cde17902e0d197fa3157337f3ae">sir_plugininfo::iface_ver</a></div><div class="ttdeci">uint8_t iface_ver</div><div class="ttdoc">Plugin interface version.</div><div class="ttdef"><b>Definition</b> types.h:330</div></div>
<div class="ttc" id="astructsir__plugininfo_html_a430d916d71dd58f9909348181c98751b"><div class="ttname"><a href="structsir__plugininfo.html#a430d916d71dd58f9909348181c98751b">sir_plugininfo::bld_ver</a></div><div class="ttdeci">uint8_t bld_ver</div><div class="ttdoc">Build/patch version number.</div><div class="ttdef"><b>Definition</b> types.h:333</div></div>
<div class="ttc" id="astructsir__plugininfo_html_a71e87991b1776d2a9346598ceebf1f1a"><div class="ttname"><a href="structsir__plugininfo.html#a71e87991b1776d2a9346598ceebf1f1a">sir_plugininfo::min_ver</a></div><div class="ttdeci">uint8_t min_ver</div><div class="ttdoc">Minor version number.</div><div class="ttdef"><b>Definition</b> types.h:332</div></div>
<div class="ttc" id="astructsir__plugininfo_html_a92d9ff1c0c4764f1e066a24efecebfd0"><div class="ttname"><a href="structsir__plugininfo.html#a92d9ff1c0c4764f1e066a24efecebfd0">sir_plugininfo::caps</a></div><div class="ttdeci">uint64_t caps</div><div class="ttdoc">Plugin capabilities bitmask.</div><div class="ttdef"><b>Definition</b> types.h:338</div></div>
<div class="ttc" id="astructsir__plugininfo_html_aa52c4fcccd437ab1a4349bd8e6f64922"><div class="ttname"><a href="structsir__plugininfo.html#aa52c4fcccd437ab1a4349bd8e6f64922">sir_plugininfo::desc</a></div><div class="ttdeci">const char * desc</div><div class="ttdoc">Plugin description.</div><div class="ttdef"><b>Definition</b> types.h:337</div></div>
<div class="ttc" id="astructsir__plugininfo_html_ab10ea6843c9f67e861b2f8410119022f"><div class="ttname"><a href="structsir__plugininfo.html#ab10ea6843c9f67e861b2f8410119022f">sir_plugininfo::author</a></div><div class="ttdeci">const char * author</div><div class="ttdoc">Plugin author information.</div><div class="ttdef"><b>Definition</b> types.h:336</div></div>
<div class="ttc" id="astructsir__plugininfo_html_ab3d8e14fb3f09579052cfc6f48e638b7"><div class="ttname"><a href="structsir__plugininfo.html#ab3d8e14fb3f09579052cfc6f48e638b7">sir_plugininfo::levels</a></div><div class="ttdeci">sir_levels levels</div><div class="ttdoc">Level registration bitmask.</div><div class="ttdef"><b>Definition</b> types.h:334</div></div>
<div class="ttc" id="astructsir__plugininfo_html_ada7d4dcf686295a51247716ed20b36be"><div class="ttname"><a href="structsir__plugininfo.html#ada7d4dcf686295a51247716ed20b36be">sir_plugininfo::maj_ver</a></div><div class="ttdeci">uint8_t maj_ver</div><div class="ttdoc">Major version number.</div><div class="ttdef"><b>Definition</b> types.h:331</div></div>
<div class="ttc" id="astructsir__plugininfo_html_af8690ae21184c15db2a8a93655d3a516"><div class="ttname"><a href="structsir__plugininfo.html#af8690ae21184c15db2a8a93655d3a516">sir_plugininfo::opts</a></div><div class="ttdeci">sir_options opts</div><div class="ttdoc">Formatting options bitmask.</div><div class="ttdef"><b>Definition</b> types.h:335</div></div>
<div class="ttc" id="astructsir__queue__node_html"><div class="ttname"><a href="structsir__queue__node.html">sir_queue_node</a></div><div class="ttdoc">A node in a sir_queue.</div><div class="ttdef"><b>Definition</b> types.h:385</div></div>
<div class="ttc" id="astructsir__queue_html"><div class="ttname"><a href="structsir__queue.html">sir_queue</a></div><div class="ttdoc">FIFO queue.</div><div class="ttdef"><b>Definition</b> types.h:391</div></div>
<div class="ttc" id="astructsir__queue_html_a56c116fc7e2a3efdc855f3d33541c122"><div class="ttname"><a href="structsir__queue.html#a56c116fc7e2a3efdc855f3d33541c122">sir_queue::head</a></div><div class="ttdeci">sir_queue_node * head</div><div class="ttdoc">The first node in the linked list.</div><div class="ttdef"><b>Definition</b> types.h:392</div></div>
<div class="ttc" id="astructsir__text__style__data_html"><div class="ttname"><a href="structsir__text__style__data.html">sir_text_style_data</a></div><div class="ttdoc">Container for text style related data that is mutex protected.</div><div class="ttdef"><b>Definition</b> types.h:434</div></div>
<div class="ttc" id="astructsir__thread__err_html"><div class="ttname"><a href="structsir__thread__err.html">sir_thread_err</a></div><div class="ttdoc">Per-thread error type.</div><div class="ttdef"><b>Definition</b> types.h:456</div></div>
<div class="ttc" id="astructsir__threadpool__job_html"><div class="ttname"><a href="structsir__threadpool__job.html">sir_threadpool_job</a></div><div class="ttdoc">Job used by a job queue.</div><div class="ttdef"><b>Definition</b> types.h:396</div></div>
<div class="ttc" id="astructsir__threadpool__job_html_a03b1cec323ce1973b55356fd9e374322"><div class="ttname"><a href="structsir__threadpool__job.html#a03b1cec323ce1973b55356fd9e374322">sir_threadpool_job::fn</a></div><div class="ttdeci">bool(* fn)(void *)</div><div class="ttdoc">Callback to be executed as part of the job.</div><div class="ttdef"><b>Definition</b> types.h:397</div></div>
<div class="ttc" id="astructsir__threadpool__job_html_a77b8d07917b5c1ae32f72f7ce71a6d8c"><div class="ttname"><a href="structsir__threadpool__job.html#a77b8d07917b5c1ae32f72f7ce71a6d8c">sir_threadpool_job::data</a></div><div class="ttdeci">void * data</div><div class="ttdoc">Data to pass to the callback.</div><div class="ttdef"><b>Definition</b> types.h:398</div></div>
<div class="ttc" id="astructsir__threadpool_html"><div class="ttname"><a href="structsir__threadpool.html">sir_threadpool</a></div><div class="ttdoc">Thread pool/job queue data container.</div><div class="ttdef"><b>Definition</b> types.h:402</div></div>
<div class="ttc" id="astructsir__threadpool_html_a0502c0ce1c0e33fc5f93966956f06c99"><div class="ttname"><a href="structsir__threadpool.html#a0502c0ce1c0e33fc5f93966956f06c99">sir_threadpool::num_threads</a></div><div class="ttdeci">size_t num_threads</div><div class="ttdoc">The number of threads in the pool.</div><div class="ttdef"><b>Definition</b> types.h:404</div></div>
<div class="ttc" id="astructsir__threadpool_html_a4b5c66ba993a304ae29152ba2cd00dde"><div class="ttname"><a href="structsir__threadpool.html#a4b5c66ba993a304ae29152ba2cd00dde">sir_threadpool::jobs</a></div><div class="ttdeci">sir_queue * jobs</div><div class="ttdoc">A queue of jobs to run (FIFO).</div><div class="ttdef"><b>Definition</b> types.h:405</div></div>
<div class="ttc" id="astructsir__threadpool_html_a982e2a7ec6c7715b055df6a4b7f44173"><div class="ttname"><a href="structsir__threadpool.html#a982e2a7ec6c7715b055df6a4b7f44173">sir_threadpool::cond</a></div><div class="ttdeci">sir_condition cond</div><div class="ttdoc">A condition which indicates that a job is ready.</div><div class="ttdef"><b>Definition</b> types.h:406</div></div>
<div class="ttc" id="astructsir__threadpool_html_ab7832daed4aced16c462f2340c79c436"><div class="ttname"><a href="structsir__threadpool.html#ab7832daed4aced16c462f2340c79c436">sir_threadpool::threads</a></div><div class="ttdeci">sir_thread * threads</div><div class="ttdoc">A list of thread handles.</div><div class="ttdef"><b>Definition</b> types.h:403</div></div>
<div class="ttc" id="astructsir__threadpool_html_af0a4d59c2d0cf18b34d11820b1fd2a5b"><div class="ttname"><a href="structsir__threadpool.html#af0a4d59c2d0cf18b34d11820b1fd2a5b">sir_threadpool::mutex</a></div><div class="ttdeci">sir_mutex mutex</div><div class="ttdoc">A mutex to be paired with the condition variable.</div><div class="ttdef"><b>Definition</b> types.h:407</div></div>
<div class="ttc" id="astructsir__threadpool_html_af4d0701b3a4985e08870b75db4fe2a75"><div class="ttname"><a href="structsir__threadpool.html#af4d0701b3a4985e08870b75db4fe2a75">sir_threadpool::cancel</a></div><div class="ttdeci">bool cancel</div><div class="ttdoc">Causes threads in the pool to exit when true.</div><div class="ttdef"><b>Definition</b> types.h:408</div></div>
<div class="ttc" id="astructsir__time_html"><div class="ttname"><a href="structsir__time.html">sir_time</a></div><div class="ttdoc">Internally-used time value type.</div><div class="ttdef"><b>Definition</b> types.h:281</div></div>
<div class="ttc" id="astructsir__update__config__data_html"><div class="ttname"><a href="structsir__update__config__data.html">sir_update_config_data</a></div><div class="ttdoc">Encapsulates dynamic updating of current configuration.</div><div class="ttdef"><b>Definition</b> types.h:478</div></div>
<div class="ttc" id="astructsir__update__config__data_html_a58f88542d9e282860be66fcbba694223"><div class="ttname"><a href="structsir__update__config__data.html#a58f88542d9e282860be66fcbba694223">sir_update_config_data::sl_identity</a></div><div class="ttdeci">const char * sl_identity</div><div class="ttdoc">System logger identity.</div><div class="ttdef"><b>Definition</b> types.h:482</div></div>
<div class="ttc" id="astructsir__update__config__data_html_a76c8c666c84b831bf2cc77f92c5fa16b"><div class="ttname"><a href="structsir__update__config__data.html#a76c8c666c84b831bf2cc77f92c5fa16b">sir_update_config_data::levels</a></div><div class="ttdeci">sir_levels * levels</div><div class="ttdoc">Level registrations.</div><div class="ttdef"><b>Definition</b> types.h:480</div></div>
<div class="ttc" id="astructsir__update__config__data_html_a8736ae94a5aaea53a2e4c8f06f7a870a"><div class="ttname"><a href="structsir__update__config__data.html#a8736ae94a5aaea53a2e4c8f06f7a870a">sir_update_config_data::opts</a></div><div class="ttdeci">sir_options * opts</div><div class="ttdoc">Formatting options.</div><div class="ttdef"><b>Definition</b> types.h:481</div></div>
<div class="ttc" id="astructsir__update__config__data_html_ac4509b5698aa330492a9d1508e3f9480"><div class="ttname"><a href="structsir__update__config__data.html#ac4509b5698aa330492a9d1508e3f9480">sir_update_config_data::sl_category</a></div><div class="ttdeci">const char * sl_category</div><div class="ttdoc">System logger category.</div><div class="ttdef"><b>Definition</b> types.h:483</div></div>
<div class="ttc" id="astructsir__update__config__data_html_ad61568937fcd6a019bd5e58d4103aa35"><div class="ttname"><a href="structsir__update__config__data.html#ad61568937fcd6a019bd5e58d4103aa35">sir_update_config_data::fields</a></div><div class="ttdeci">uint32_t fields</div><div class="ttdoc">sir_config_data_field bitmask.</div><div class="ttdef"><b>Definition</b> types.h:479</div></div>
<div class="ttc" id="astructsirbuf_html"><div class="ttname"><a href="structsirbuf.html">sirbuf</a></div><div class="ttdoc">Formatted output container.</div><div class="ttdef"><b>Definition</b> types.h:412</div></div>
<div class="ttc" id="astructsirconfig_html"><div class="ttname"><a href="structsirconfig.html">sirconfig</a></div><div class="ttdoc">Internally-used global config container.</div><div class="ttdef"><b>Definition</b> types.h:291</div></div>
<div class="ttc" id="astructsirfcache_html"><div class="ttname"><a href="structsirfcache.html">sirfcache</a></div><div class="ttdoc">Log file cache.</div><div class="ttdef"><b>Definition</b> types.h:323</div></div>
<div class="ttc" id="astructsirfile_html"><div class="ttname"><a href="structsirfile.html">sirfile</a></div><div class="ttdoc">Internally-used log file data.</div><div class="ttdef"><b>Definition</b> types.h:313</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.9.7-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_89aa746955889ced97536d9f51ce6c73.html">sir</a></li><li class="navelem"><b>types.h</b></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.2 </li>
  </ul>
</div>
</body>
</html>
